HSL(59, 80%, 50%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(59,80%,50%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(59, 80%, 50%) | color: hsl(59, 80%, 50%) | |
| HEX | #E6E21A | color: #E6E21A | |
| RGB | rgb(230, 226, 26) | color: rgb(230, 226, 26) | |
| CMYK | cmyk(0%, 2%, 89%, 10%) | — | |
| HSV | hsv(59, 89%, 90%) | — | |
| HWB | hwb(59 10% 10%) | color: hwb(59 10% 10%) | |
| OKLCH | oklch(0.8873 0.1878 108.36) | color: oklch(0.8873 0.1878 108.36) | |
| Lab | lab(87.63 -17.71 83.92) | color: lab(87.63 -17.71 83.92) | |
| LCH | lch(87.63 85.77 101.92) | color: lch(87.63 85.77 101.92) |
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)
#E4E44A — rgb(228, 228, 74)
Deuteranopia (Green-blind)
#E5E556 — rgb(229, 229, 86)
Tritanopia (Blue-blind)
#E67179 — rgb(230, 113, 121)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(59, 80%, 50%);
text
color: hsl(59, 80%, 50%);
border
border: 2px solid hsl(59, 80%, 50%);
gradient light
background: linear-gradient(to right, hsl(59, 80%, 70%), hsl(59, 80%, 50%));
gradient dark
background: linear-gradient(to right, hsl(59, 80%, 50%), hsl(59, 80%, 30%))
hex
background-color: #E6E21A;
tailwind
bg-[hsl(59,80%,50%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(59, 80%, 50%, 0.4);
css variable
--color-primary: hsl(59, 80%, 50%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(59, 80%, 50%)?
HEX: #E6E21A | RGB: rgb(230, 226, 26) | CMYK: 0%, 2%, 89%, 10% | HSV: 59°, 89%, 90%. Copy any format from the conversion table above.
What colors go well with #E6E21A?
The complementary color is HSL(239, 80%, 50%). For a triadic harmony, use hues 59°, 179°, and 299°. For analogous combinations, try hues 29° and 89°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(59, 80%, 50%) in CSS?
As HSL: color: hsl(59, 80%, 50%); — As HEX: color: #E6E21A; — As RGB: color: rgb(230, 226, 26); — Tailwind CSS: bg-[hsl(59,80%,50%)] — CSS variable: --color-primary: hsl(59, 80%, 50%);