HSL(57, 15%, 82%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(57,15%,82%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(57, 15%, 82%) | color: hsl(57, 15%, 82%) | |
| HEX | #D8D7CA | color: #D8D7CA | |
| RGB | rgb(216, 215, 202) | color: rgb(216, 215, 202) | |
| CMYK | cmyk(0%, 0%, 6%, 15%) | — | |
| HSV | hsv(56, 6%, 85%) | — | |
| HWB | hwb(56 80% 15%) | color: hwb(56 80% 15%) | |
| OKLCH | oklch(0.8764 0.0176 103.18) | color: oklch(0.8764 0.0176 103.18) | |
| Lab | lab(85.74 -1.93 6.53) | color: lab(85.74 -1.93 6.53) | |
| LCH | lch(85.74 6.81 106.47) | color: lch(85.74 6.81 106.47) |
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)
#D8D8CD — rgb(216, 216, 205)
Deuteranopia (Green-blind)
#D8D8CE — rgb(216, 216, 206)
Tritanopia (Blue-blind)
#D8D0D0 — rgb(216, 208, 208)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(57, 15%, 82%);
text
color: hsl(57, 15%, 82%);
border
border: 2px solid hsl(57, 15%, 82%);
gradient light
background: linear-gradient(to right, hsl(57, 15%, 100%), hsl(57, 15%, 82%));
gradient dark
background: linear-gradient(to right, hsl(57, 15%, 82%), hsl(57, 15%, 62%))
hex
background-color: #D8D7CA;
tailwind
bg-[hsl(57,15%,82%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(57, 15%, 82%, 0.4);
css variable
--color-primary: hsl(57, 15%, 82%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(57, 15%, 82%)?
HEX: #D8D7CA | RGB: rgb(216, 215, 202) | CMYK: 0%, 0%, 6%, 15% | HSV: 56°, 6%, 85%. Copy any format from the conversion table above.
What colors go well with #D8D7CA?
The complementary color is HSL(237, 15%, 82%). For a triadic harmony, use hues 57°, 177°, and 297°. For analogous combinations, try hues 27° and 87°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(57, 15%, 82%) in CSS?
As HSL: color: hsl(57, 15%, 82%); — As HEX: color: #D8D7CA; — As RGB: color: rgb(216, 215, 202); — Tailwind CSS: bg-[hsl(57,15%,82%)] — CSS variable: --color-primary: hsl(57, 15%, 82%);