HSL(57, 40%, 84%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(57,40%,84%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(57, 40%, 84%) | color: hsl(57, 40%, 84%) | |
| HEX | #E7E5C6 | color: #E7E5C6 | |
| RGB | rgb(231, 229, 198) | color: rgb(231, 229, 198) | |
| CMYK | cmyk(0%, 1%, 14%, 9%) | — | |
| HSV | hsv(56, 14%, 91%) | — | |
| HWB | hwb(56 78% 9%) | color: hwb(56 78% 9%) | |
| OKLCH | oklch(0.9154 0.041 104.15) | color: oklch(0.9154 0.041 104.15) | |
| Lab | lab(90.37 -4.46 15.39) | color: lab(90.37 -4.46 15.39) | |
| LCH | lch(90.37 16.02 106.16) | color: lch(90.37 16.02 106.16) |
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)
#E6E6CE — rgb(230, 230, 206)
Deuteranopia (Green-blind)
#E6E6CF — rgb(230, 230, 207)
Tritanopia (Blue-blind)
#E7D3D5 — rgb(231, 211, 213)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(57, 40%, 84%);
text
color: hsl(57, 40%, 84%);
border
border: 2px solid hsl(57, 40%, 84%);
gradient light
background: linear-gradient(to right, hsl(57, 40%, 100%), hsl(57, 40%, 84%));
gradient dark
background: linear-gradient(to right, hsl(57, 40%, 84%), hsl(57, 40%, 64%))
hex
background-color: #E7E5C6;
tailwind
bg-[hsl(57,40%,84%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(57, 40%, 84%, 0.4);
css variable
--color-primary: hsl(57, 40%, 84%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(57, 40%, 84%)?
HEX: #E7E5C6 | RGB: rgb(231, 229, 198) | CMYK: 0%, 1%, 14%, 9% | HSV: 56°, 14%, 91%. Copy any format from the conversion table above.
What colors go well with #E7E5C6?
The complementary color is HSL(237, 40%, 84%). 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, 40%, 84%) in CSS?
As HSL: color: hsl(57, 40%, 84%); — As HEX: color: #E7E5C6; — As RGB: color: rgb(231, 229, 198); — Tailwind CSS: bg-[hsl(57,40%,84%)] — CSS variable: --color-primary: hsl(57, 40%, 84%);