HSL(57, 31%, 75%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(57,31%,75%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(57, 31%, 75%) | color: hsl(57, 31%, 75%) | |
| HEX | #D3D1AB | color: #D3D1AB | |
| RGB | rgb(211, 209, 171) | color: rgb(211, 209, 171) | |
| CMYK | cmyk(0%, 1%, 19%, 17%) | — | |
| HSV | hsv(57, 19%, 83%) | — | |
| HWB | hwb(57 67% 17%) | color: hwb(57 67% 17%) | |
| OKLCH | oklch(0.8525 0.0508 104.93) | color: oklch(0.8525 0.0508 104.93) | |
| Lab | lab(83.12 -5.56 19.15) | color: lab(83.12 -5.56 19.15) | |
| LCH | lch(83.12 19.94 106.19) | color: lch(83.12 19.94 106.19) |
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)
#D2D2B4 — rgb(210, 210, 180)
Deuteranopia (Green-blind)
#D2D2B6 — rgb(210, 210, 182)
Tritanopia (Blue-blind)
#D3BBBD — rgb(211, 187, 189)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(57, 31%, 75%);
text
color: hsl(57, 31%, 75%);
border
border: 2px solid hsl(57, 31%, 75%);
gradient light
background: linear-gradient(to right, hsl(57, 31%, 95%), hsl(57, 31%, 75%));
gradient dark
background: linear-gradient(to right, hsl(57, 31%, 75%), hsl(57, 31%, 55%))
hex
background-color: #D3D1AB;
tailwind
bg-[hsl(57,31%,75%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(57, 31%, 75%, 0.4);
css variable
--color-primary: hsl(57, 31%, 75%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(57, 31%, 75%)?
HEX: #D3D1AB | RGB: rgb(211, 209, 171) | CMYK: 0%, 1%, 19%, 17% | HSV: 57°, 19%, 83%. Copy any format from the conversion table above.
What colors go well with #D3D1AB?
The complementary color is HSL(237, 31%, 75%). 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%, 75%) in CSS?
As HSL: color: hsl(57, 31%, 75%); — As HEX: color: #D3D1AB; — As RGB: color: rgb(211, 209, 171); — Tailwind CSS: bg-[hsl(57,31%,75%)] — CSS variable: --color-primary: hsl(57, 31%, 75%);