HSL(46, 52%, 80%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(46,52%,80%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(46, 52%, 80%) | color: hsl(46, 52%, 80%) | |
| HEX | #E7DAB1 | color: #E7DAB1 | |
| RGB | rgb(231, 218, 177) | color: rgb(231, 218, 177) | |
| CMYK | cmyk(0%, 6%, 23%, 9%) | — | |
| HSV | hsv(46, 23%, 91%) | — | |
| HWB | hwb(46 70% 9%) | color: hwb(46 70% 9%) | |
| OKLCH | oklch(0.8886 0.0558 92.54) | color: oklch(0.8886 0.0558 92.54) | |
| Lab | lab(87.15 -1.92 21.83) | color: lab(87.15 -1.92 21.83) | |
| LCH | lch(87.15 21.91 95.03) | color: lch(87.15 21.91 95.03) |
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)
#E1E1BB — rgb(225, 225, 187)
Deuteranopia (Green-blind)
#E2E3BD — rgb(226, 227, 189)
Tritanopia (Blue-blind)
#E6C3C4 — rgb(230, 195, 196)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(46, 52%, 80%);
text
color: hsl(46, 52%, 80%);
border
border: 2px solid hsl(46, 52%, 80%);
gradient light
background: linear-gradient(to right, hsl(46, 52%, 100%), hsl(46, 52%, 80%));
gradient dark
background: linear-gradient(to right, hsl(46, 52%, 80%), hsl(46, 52%, 60%))
hex
background-color: #E7DAB1;
tailwind
bg-[hsl(46,52%,80%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(46, 52%, 80%, 0.4);
css variable
--color-primary: hsl(46, 52%, 80%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(46, 52%, 80%)?
HEX: #E7DAB1 | RGB: rgb(231, 218, 177) | CMYK: 0%, 6%, 23%, 9% | HSV: 46°, 23%, 91%. Copy any format from the conversion table above.
What colors go well with #E7DAB1?
The complementary color is HSL(226, 52%, 80%). For a triadic harmony, use hues 46°, 166°, and 286°. For analogous combinations, try hues 16° and 76°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(46, 52%, 80%) in CSS?
As HSL: color: hsl(46, 52%, 80%); — As HEX: color: #E7DAB1; — As RGB: color: rgb(231, 218, 177); — Tailwind CSS: bg-[hsl(46,52%,80%)] — CSS variable: --color-primary: hsl(46, 52%, 80%);