HSL(57, 31%, 77%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(57,31%,77%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(57, 31%, 77%) | color: hsl(57, 31%, 77%) | |
| HEX | #D7D5B2 | color: #D7D5B2 | |
| RGB | rgb(215, 213, 178) | color: rgb(215, 213, 178) | |
| CMYK | cmyk(0%, 1%, 17%, 16%) | — | |
| HSV | hsv(57, 17%, 84%) | — | |
| HWB | hwb(57 70% 16%) | color: hwb(57 70% 16%) | |
| OKLCH | oklch(0.8655 0.0467 104.64) | color: oklch(0.8655 0.0467 104.64) | |
| Lab | lab(84.61 -5.11 17.59) | color: lab(84.61 -5.11 17.59) | |
| LCH | lch(84.61 18.32 106.2) | color: lch(84.61 18.32 106.2) |
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)
#D6D6BA — rgb(214, 214, 186)
Deuteranopia (Green-blind)
#D6D6BD — rgb(214, 214, 189)
Tritanopia (Blue-blind)
#D7C1C3 — rgb(215, 193, 195)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(57, 31%, 77%);
text
color: hsl(57, 31%, 77%);
border
border: 2px solid hsl(57, 31%, 77%);
gradient light
background: linear-gradient(to right, hsl(57, 31%, 97%), hsl(57, 31%, 77%));
gradient dark
background: linear-gradient(to right, hsl(57, 31%, 77%), hsl(57, 31%, 57%))
hex
background-color: #D7D5B2;
tailwind
bg-[hsl(57,31%,77%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(57, 31%, 77%, 0.4);
css variable
--color-primary: hsl(57, 31%, 77%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(57, 31%, 77%)?
HEX: #D7D5B2 | RGB: rgb(215, 213, 178) | CMYK: 0%, 1%, 17%, 16% | HSV: 57°, 17%, 84%. Copy any format from the conversion table above.
What colors go well with #D7D5B2?
The complementary color is HSL(237, 31%, 77%). 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, 31%, 77%) in CSS?
As HSL: color: hsl(57, 31%, 77%); — As HEX: color: #D7D5B2; — As RGB: color: rgb(215, 213, 178); — Tailwind CSS: bg-[hsl(57,31%,77%)] — CSS variable: --color-primary: hsl(57, 31%, 77%);