HSL(51, 45%, 79%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(51,45%,79%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(51, 45%, 79%) | color: hsl(51, 45%, 79%) | |
| HEX | #E2DAB1 | color: #E2DAB1 | |
| RGB | rgb(226, 218, 177) | color: rgb(226, 218, 177) | |
| CMYK | cmyk(0%, 4%, 22%, 11%) | — | |
| HSV | hsv(50, 22%, 89%) | — | |
| HWB | hwb(50 69% 11%) | color: hwb(50 69% 11%) | |
| OKLCH | oklch(0.8844 0.0547 98.2) | color: oklch(0.8844 0.0547 98.2) | |
| Lab | lab(86.74 -3.77 21.21) | color: lab(86.74 -3.77 21.21) | |
| LCH | lch(86.74 21.54 100.08) | color: lch(86.74 21.54 100.08) |
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)
#DFDEBB — rgb(223, 222, 187)
Deuteranopia (Green-blind)
#DFE0BD — rgb(223, 224, 189)
Tritanopia (Blue-blind)
#E2C3C4 — rgb(226, 195, 196)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(51, 45%, 79%);
text
color: hsl(51, 45%, 79%);
border
border: 2px solid hsl(51, 45%, 79%);
gradient light
background: linear-gradient(to right, hsl(51, 45%, 99%), hsl(51, 45%, 79%));
gradient dark
background: linear-gradient(to right, hsl(51, 45%, 79%), hsl(51, 45%, 59%))
hex
background-color: #E2DAB1;
tailwind
bg-[hsl(51,45%,79%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(51, 45%, 79%, 0.4);
css variable
--color-primary: hsl(51, 45%, 79%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(51, 45%, 79%)?
HEX: #E2DAB1 | RGB: rgb(226, 218, 177) | CMYK: 0%, 4%, 22%, 11% | HSV: 50°, 22%, 89%. Copy any format from the conversion table above.
What colors go well with #E2DAB1?
The complementary color is HSL(231, 45%, 79%). For a triadic harmony, use hues 51°, 171°, and 291°. For analogous combinations, try hues 21° and 81°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(51, 45%, 79%) in CSS?
As HSL: color: hsl(51, 45%, 79%); — As HEX: color: #E2DAB1; — As RGB: color: rgb(226, 218, 177); — Tailwind CSS: bg-[hsl(51,45%,79%)] — CSS variable: --color-primary: hsl(51, 45%, 79%);