HSL(56, 82%, 62%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(56,82%,62%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(56, 82%, 62%) | color: hsl(56, 82%, 62%) | |
| HEX | #EEE34F | color: #EEE34F | |
| RGB | rgb(238, 227, 79) | color: rgb(238, 227, 79) | |
| CMYK | cmyk(0%, 5%, 67%, 7%) | — | |
| HSV | hsv(56, 67%, 93%) | — | |
| HWB | hwb(56 31% 7%) | color: hwb(56 31% 7%) | |
| OKLCH | oklch(0.8987 0.1634 105.06) | color: oklch(0.8987 0.1634 105.06) | |
| Lab | lab(88.77 -13.03 70.39) | color: lab(88.77 -13.03 70.39) | |
| LCH | lch(88.77 71.59 100.49) | color: lch(88.77 71.59 100.49) |
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)
#E9E973 — rgb(233, 233, 115)
Deuteranopia (Green-blind)
#EAEB7B — rgb(234, 235, 123)
Tritanopia (Blue-blind)
#ED8F95 — rgb(237, 143, 149)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(56, 82%, 62%);
text
color: hsl(56, 82%, 62%);
border
border: 2px solid hsl(56, 82%, 62%);
gradient light
background: linear-gradient(to right, hsl(56, 82%, 82%), hsl(56, 82%, 62%));
gradient dark
background: linear-gradient(to right, hsl(56, 82%, 62%), hsl(56, 82%, 42%))
hex
background-color: #EEE34F;
tailwind
bg-[hsl(56,82%,62%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(56, 82%, 62%, 0.4);
css variable
--color-primary: hsl(56, 82%, 62%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(56, 82%, 62%)?
HEX: #EEE34F | RGB: rgb(238, 227, 79) | CMYK: 0%, 5%, 67%, 7% | HSV: 56°, 67%, 93%. Copy any format from the conversion table above.
What colors go well with #EEE34F?
The complementary color is HSL(236, 82%, 62%). For a triadic harmony, use hues 56°, 176°, and 296°. For analogous combinations, try hues 26° and 86°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(56, 82%, 62%) in CSS?
As HSL: color: hsl(56, 82%, 62%); — As HEX: color: #EEE34F; — As RGB: color: rgb(238, 227, 79); — Tailwind CSS: bg-[hsl(56,82%,62%)] — CSS variable: --color-primary: hsl(56, 82%, 62%);