HSL(53, 20%, 81%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(53,20%,81%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(53, 20%, 81%) | color: hsl(53, 20%, 81%) | |
| HEX | #D8D6C5 | color: #D8D6C5 | |
| RGB | rgb(216, 214, 197) | color: rgb(216, 214, 197) | |
| CMYK | cmyk(0%, 1%, 9%, 15%) | — | |
| HSV | hsv(54, 9%, 85%) | — | |
| HWB | hwb(54 77% 15%) | color: hwb(54 77% 15%) | |
| OKLCH | oklch(0.873 0.023 101.39) | color: oklch(0.873 0.023 101.39) | |
| Lab | lab(85.36 -2.25 8.64) | color: lab(85.36 -2.25 8.64) | |
| LCH | lch(85.36 8.93 104.6) | color: lch(85.36 8.93 104.6) |
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)
#D7D7C9 — rgb(215, 215, 201)
Deuteranopia (Green-blind)
#D7D7CA — rgb(215, 215, 202)
Tritanopia (Blue-blind)
#D8CCCD — rgb(216, 204, 205)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(53, 20%, 81%);
text
color: hsl(53, 20%, 81%);
border
border: 2px solid hsl(53, 20%, 81%);
gradient light
background: linear-gradient(to right, hsl(53, 20%, 100%), hsl(53, 20%, 81%));
gradient dark
background: linear-gradient(to right, hsl(53, 20%, 81%), hsl(53, 20%, 61%))
hex
background-color: #D8D6C5;
tailwind
bg-[hsl(53,20%,81%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(53, 20%, 81%, 0.4);
css variable
--color-primary: hsl(53, 20%, 81%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(53, 20%, 81%)?
HEX: #D8D6C5 | RGB: rgb(216, 214, 197) | CMYK: 0%, 1%, 9%, 15% | HSV: 54°, 9%, 85%. Copy any format from the conversion table above.
What colors go well with #D8D6C5?
The complementary color is HSL(233, 20%, 81%). 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, 20%, 81%) in CSS?
As HSL: color: hsl(53, 20%, 81%); — As HEX: color: #D8D6C5; — As RGB: color: rgb(216, 214, 197); — Tailwind CSS: bg-[hsl(53,20%,81%)] — CSS variable: --color-primary: hsl(53, 20%, 81%);