HSL(45, 50%, 79%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(45,50%,79%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(45, 50%, 79%) | color: hsl(45, 50%, 79%) | |
| HEX | #E4D7AF | color: #E4D7AF | |
| RGB | rgb(228, 215, 175) | color: rgb(228, 215, 175) | |
| CMYK | cmyk(0%, 6%, 23%, 11%) | — | |
| HSV | hsv(45, 23%, 89%) | — | |
| HWB | hwb(45 69% 11%) | color: hwb(45 69% 11%) | |
| OKLCH | oklch(0.8796 0.0546 92.17) | color: oklch(0.8796 0.0546 92.17) | |
| Lab | lab(86.1 -1.77 21.39) | color: lab(86.1 -1.77 21.39) | |
| LCH | lch(86.1 21.46 94.73) | color: lch(86.1 21.46 94.73) |
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)
#DEDEB9 — rgb(222, 222, 185)
Deuteranopia (Green-blind)
#DFE0BB — rgb(223, 224, 187)
Tritanopia (Blue-blind)
#E3C0C2 — rgb(227, 192, 194)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(45, 50%, 79%);
text
color: hsl(45, 50%, 79%);
border
border: 2px solid hsl(45, 50%, 79%);
gradient light
background: linear-gradient(to right, hsl(45, 50%, 99%), hsl(45, 50%, 79%));
gradient dark
background: linear-gradient(to right, hsl(45, 50%, 79%), hsl(45, 50%, 59%))
hex
background-color: #E4D7AF;
tailwind
bg-[hsl(45,50%,79%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(45, 50%, 79%, 0.4);
css variable
--color-primary: hsl(45, 50%, 79%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(45, 50%, 79%)?
HEX: #E4D7AF | RGB: rgb(228, 215, 175) | CMYK: 0%, 6%, 23%, 11% | HSV: 45°, 23%, 89%. Copy any format from the conversion table above.
What colors go well with #E4D7AF?
The complementary color is HSL(225, 50%, 79%). For a triadic harmony, use hues 45°, 165°, and 285°. For analogous combinations, try hues 15° and 75°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(45, 50%, 79%) in CSS?
As HSL: color: hsl(45, 50%, 79%); — As HEX: color: #E4D7AF; — As RGB: color: rgb(228, 215, 175); — Tailwind CSS: bg-[hsl(45,50%,79%)] — CSS variable: --color-primary: hsl(45, 50%, 79%);