HSL(52, 40%, 82%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(52,40%,82%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(52, 40%, 82%) | color: hsl(52, 40%, 82%) | |
| HEX | #E3DFBF | color: #E3DFBF | |
| RGB | rgb(227, 223, 191) | color: rgb(227, 223, 191) | |
| CMYK | cmyk(0%, 2%, 16%, 11%) | — | |
| HSV | hsv(53, 16%, 89%) | — | |
| HWB | hwb(53 75% 11%) | color: hwb(53 75% 11%) | |
| OKLCH | oklch(0.8985 0.0426 101.34) | color: oklch(0.8985 0.0426 101.34) | |
| Lab | lab(88.39 -3.91 16.2) | color: lab(88.39 -3.91 16.2) | |
| LCH | lch(88.39 16.67 103.57) | color: lch(88.39 16.67 103.57) |
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)
#E1E1C7 — rgb(225, 225, 199)
Deuteranopia (Green-blind)
#E2E2C9 — rgb(226, 226, 201)
Tritanopia (Blue-blind)
#E3CDCE — rgb(227, 205, 206)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(52, 40%, 82%);
text
color: hsl(52, 40%, 82%);
border
border: 2px solid hsl(52, 40%, 82%);
gradient light
background: linear-gradient(to right, hsl(52, 40%, 100%), hsl(52, 40%, 82%));
gradient dark
background: linear-gradient(to right, hsl(52, 40%, 82%), hsl(52, 40%, 62%))
hex
background-color: #E3DFBF;
tailwind
bg-[hsl(52,40%,82%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(52, 40%, 82%, 0.4);
css variable
--color-primary: hsl(52, 40%, 82%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(52, 40%, 82%)?
HEX: #E3DFBF | RGB: rgb(227, 223, 191) | CMYK: 0%, 2%, 16%, 11% | HSV: 53°, 16%, 89%. Copy any format from the conversion table above.
What colors go well with #E3DFBF?
The complementary color is HSL(232, 40%, 82%). For a triadic harmony, use hues 52°, 172°, and 292°. For analogous combinations, try hues 22° and 82°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(52, 40%, 82%) in CSS?
As HSL: color: hsl(52, 40%, 82%); — As HEX: color: #E3DFBF; — As RGB: color: rgb(227, 223, 191); — Tailwind CSS: bg-[hsl(52,40%,82%)] — CSS variable: --color-primary: hsl(52, 40%, 82%);