HSL(59, 35%, 72%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(59,35%,72%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(59, 35%, 72%) | color: hsl(59, 35%, 72%) | |
| HEX | #D1D09F | color: #D1D09F | |
| RGB | rgb(209, 208, 159) | color: rgb(209, 208, 159) | |
| CMYK | cmyk(0%, 0%, 24%, 18%) | — | |
| HSV | hsv(59, 24%, 82%) | — | |
| HWB | hwb(59 62% 18%) | color: hwb(59 62% 18%) | |
| OKLCH | oklch(0.8462 0.0649 106.73) | color: oklch(0.8462 0.0649 106.73) | |
| Lab | lab(82.47 -7.51 24.54) | color: lab(82.47 -7.51 24.54) | |
| LCH | lch(82.47 25.66 107.02) | color: lch(82.47 25.66 107.02) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: black
Color Blindness Simulation
Protanopia (Red-blind)
#D1D1AB — rgb(209, 209, 171)
Deuteranopia (Green-blind)
#D1D1AE — rgb(209, 209, 174)
Tritanopia (Blue-blind)
#D1B4B6 — rgb(209, 180, 182)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(59, 35%, 72%);
text
color: hsl(59, 35%, 72%);
border
border: 2px solid hsl(59, 35%, 72%);
gradient light
background: linear-gradient(to right, hsl(59, 35%, 92%), hsl(59, 35%, 72%));
gradient dark
background: linear-gradient(to right, hsl(59, 35%, 72%), hsl(59, 35%, 52%))
hex
background-color: #D1D09F;
tailwind
bg-[hsl(59,35%,72%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(59, 35%, 72%, 0.4);
css variable
--color-primary: hsl(59, 35%, 72%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(59, 35%, 72%)?
HEX: #D1D09F | RGB: rgb(209, 208, 159) | CMYK: 0%, 0%, 24%, 18% | HSV: 59°, 24%, 82%. Copy any format from the conversion table above.
What colors go well with #D1D09F?
The complementary color is HSL(239, 35%, 72%). For a triadic harmony, use hues 59°, 179°, and 299°. For analogous combinations, try hues 29° and 89°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(59, 35%, 72%) in CSS?
As HSL: color: hsl(59, 35%, 72%); — As HEX: color: #D1D09F; — As RGB: color: rgb(209, 208, 159); — Tailwind CSS: bg-[hsl(59,35%,72%)] — CSS variable: --color-primary: hsl(59, 35%, 72%);