HSL(45, 79%, 69%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(45,79%,69%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(45, 79%, 69%) | color: hsl(45, 79%, 69%) | |
| HEX | #EECF72 | color: #EECF72 | |
| RGB | rgb(238, 207, 114) | color: rgb(238, 207, 114) | |
| CMYK | cmyk(0%, 13%, 52%, 7%) | — | |
| HSV | hsv(45, 52%, 93%) | — | |
| HWB | hwb(45 45% 7%) | color: hwb(45 45% 7%) | |
| OKLCH | oklch(0.8618 0.1181 91.38) | color: oklch(0.8618 0.1181 91.38) | |
| Lab | lab(83.98 -0.56 49.77) | color: lab(83.98 -0.56 49.77) | |
| LCH | lch(83.98 49.77 90.64) | color: lch(83.98 49.77 90.64) |
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)
#E1E089 — rgb(225, 224, 137)
Deuteranopia (Green-blind)
#E2E58E — rgb(226, 229, 142)
Tritanopia (Blue-blind)
#EC9A9E — rgb(236, 154, 158)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(45, 79%, 69%);
text
color: hsl(45, 79%, 69%);
border
border: 2px solid hsl(45, 79%, 69%);
gradient light
background: linear-gradient(to right, hsl(45, 79%, 89%), hsl(45, 79%, 69%));
gradient dark
background: linear-gradient(to right, hsl(45, 79%, 69%), hsl(45, 79%, 49%))
hex
background-color: #EECF72;
tailwind
bg-[hsl(45,79%,69%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(45, 79%, 69%, 0.4);
css variable
--color-primary: hsl(45, 79%, 69%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(45, 79%, 69%)?
HEX: #EECF72 | RGB: rgb(238, 207, 114) | CMYK: 0%, 13%, 52%, 7% | HSV: 45°, 52%, 93%. Copy any format from the conversion table above.
What colors go well with #EECF72?
The complementary color is HSL(225, 79%, 69%). 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, 79%, 69%) in CSS?
As HSL: color: hsl(45, 79%, 69%); — As HEX: color: #EECF72; — As RGB: color: rgb(238, 207, 114); — Tailwind CSS: bg-[hsl(45,79%,69%)] — CSS variable: --color-primary: hsl(45, 79%, 69%);