HSL(56, 52%, 82%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(56,52%,82%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(56, 52%, 82%) | color: hsl(56, 52%, 82%) | |
| HEX | #E9E6B9 | color: #E9E6B9 | |
| RGB | rgb(233, 230, 185) | color: rgb(233, 230, 185) | |
| CMYK | cmyk(0%, 1%, 21%, 9%) | — | |
| HSV | hsv(56, 21%, 91%) | — | |
| HWB | hwb(56 72% 9%) | color: hwb(56 72% 9%) | |
| OKLCH | oklch(0.916 0.0589 104.34) | color: oklch(0.916 0.0589 104.34) | |
| Lab | lab(90.52 -6.17 22.35) | color: lab(90.52 -6.17 22.35) | |
| LCH | lch(90.52 23.19 105.43) | color: lch(90.52 23.19 105.43) |
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)
#E8E8C4 — rgb(232, 232, 196)
Deuteranopia (Green-blind)
#E8E8C7 — rgb(232, 232, 199)
Tritanopia (Blue-blind)
#E9CCCE — rgb(233, 204, 206)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(56, 52%, 82%);
text
color: hsl(56, 52%, 82%);
border
border: 2px solid hsl(56, 52%, 82%);
gradient light
background: linear-gradient(to right, hsl(56, 52%, 100%), hsl(56, 52%, 82%));
gradient dark
background: linear-gradient(to right, hsl(56, 52%, 82%), hsl(56, 52%, 62%))
hex
background-color: #E9E6B9;
tailwind
bg-[hsl(56,52%,82%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(56, 52%, 82%, 0.4);
css variable
--color-primary: hsl(56, 52%, 82%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(56, 52%, 82%)?
HEX: #E9E6B9 | RGB: rgb(233, 230, 185) | CMYK: 0%, 1%, 21%, 9% | HSV: 56°, 21%, 91%. Copy any format from the conversion table above.
What colors go well with #E9E6B9?
The complementary color is HSL(236, 52%, 82%). For a triadic harmony, use hues 56°, 176°, and 296°. For analogous combinations, try hues 26° and 86°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(56, 52%, 82%) in CSS?
As HSL: color: hsl(56, 52%, 82%); — As HEX: color: #E9E6B9; — As RGB: color: rgb(233, 230, 185); — Tailwind CSS: bg-[hsl(56,52%,82%)] — CSS variable: --color-primary: hsl(56, 52%, 82%);