HSL(53, 40%, 70%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(53,40%,70%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(53, 40%, 70%) | color: hsl(53, 40%, 70%) | |
| HEX | #D1CA94 | color: #D1CA94 | |
| RGB | rgb(209, 202, 148) | color: rgb(209, 202, 148) | |
| CMYK | cmyk(0%, 3%, 29%, 18%) | — | |
| HSV | hsv(53, 29%, 82%) | — | |
| HWB | hwb(53 58% 18%) | color: hwb(53 58% 18%) | |
| OKLCH | oklch(0.8316 0.0715 101.58) | color: oklch(0.8316 0.0715 101.58) | |
| Lab | lab(80.7 -5.9 27.9) | color: lab(80.7 -5.9 27.9) | |
| LCH | lch(80.7 28.52 101.94) | color: lch(80.7 28.52 101.94) |
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)
#CECEA1 — rgb(206, 206, 161)
Deuteranopia (Green-blind)
#CECFA4 — rgb(206, 207, 164)
Tritanopia (Blue-blind)
#D1ABAE — rgb(209, 171, 174)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(53, 40%, 70%);
text
color: hsl(53, 40%, 70%);
border
border: 2px solid hsl(53, 40%, 70%);
gradient light
background: linear-gradient(to right, hsl(53, 40%, 90%), hsl(53, 40%, 70%));
gradient dark
background: linear-gradient(to right, hsl(53, 40%, 70%), hsl(53, 40%, 50%))
hex
background-color: #D1CA94;
tailwind
bg-[hsl(53,40%,70%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(53, 40%, 70%, 0.4);
css variable
--color-primary: hsl(53, 40%, 70%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(53, 40%, 70%)?
HEX: #D1CA94 | RGB: rgb(209, 202, 148) | CMYK: 0%, 3%, 29%, 18% | HSV: 53°, 29%, 82%. Copy any format from the conversion table above.
What colors go well with #D1CA94?
The complementary color is HSL(233, 40%, 70%). For a triadic harmony, use hues 53°, 173°, and 293°. For analogous combinations, try hues 23° and 83°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(53, 40%, 70%) in CSS?
As HSL: color: hsl(53, 40%, 70%); — As HEX: color: #D1CA94; — As RGB: color: rgb(209, 202, 148); — Tailwind CSS: bg-[hsl(53,40%,70%)] — CSS variable: --color-primary: hsl(53, 40%, 70%);