HSL(53, 40%, 77%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(53,40%,77%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(53, 40%, 77%) | color: hsl(53, 40%, 77%) | |
| HEX | #DCD6AD | color: #DCD6AD | |
| RGB | rgb(220, 214, 173) | color: rgb(220, 214, 173) | |
| CMYK | cmyk(0%, 3%, 21%, 14%) | — | |
| HSV | hsv(52, 21%, 86%) | — | |
| HWB | hwb(52 68% 14%) | color: hwb(52 68% 14%) | |
| OKLCH | oklch(0.8705 0.0546 100.52) | color: oklch(0.8705 0.0546 100.52) | |
| Lab | lab(85.16 -4.51 21.04) | color: lab(85.16 -4.51 21.04) | |
| LCH | lch(85.16 21.52 102.1) | color: lch(85.16 21.52 102.1) |
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)
#D9D9B7 — rgb(217, 217, 183)
Deuteranopia (Green-blind)
#DADAB9 — rgb(218, 218, 185)
Tritanopia (Blue-blind)
#DCBFC0 — rgb(220, 191, 192)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(53, 40%, 77%);
text
color: hsl(53, 40%, 77%);
border
border: 2px solid hsl(53, 40%, 77%);
gradient light
background: linear-gradient(to right, hsl(53, 40%, 97%), hsl(53, 40%, 77%));
gradient dark
background: linear-gradient(to right, hsl(53, 40%, 77%), hsl(53, 40%, 57%))
hex
background-color: #DCD6AD;
tailwind
bg-[hsl(53,40%,77%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(53, 40%, 77%, 0.4);
css variable
--color-primary: hsl(53, 40%, 77%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(53, 40%, 77%)?
HEX: #DCD6AD | RGB: rgb(220, 214, 173) | CMYK: 0%, 3%, 21%, 14% | HSV: 52°, 21%, 86%. Copy any format from the conversion table above.
What colors go well with #DCD6AD?
The complementary color is HSL(233, 40%, 77%). 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%, 77%) in CSS?
As HSL: color: hsl(53, 40%, 77%); — As HEX: color: #DCD6AD; — As RGB: color: rgb(220, 214, 173); — Tailwind CSS: bg-[hsl(53,40%,77%)] — CSS variable: --color-primary: hsl(53, 40%, 77%);