HSL(59, 80%, 20%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(59,80%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(59, 80%, 20%) | color: hsl(59, 80%, 20%) | |
| HEX | #5C5A0A | color: #5C5A0A | |
| RGB | rgb(92, 90, 10) | color: rgb(92, 90, 10) | |
| CMYK | cmyk(0%, 2%, 89%, 64%) | — | |
| HSV | hsv(59, 89%, 36%) | — | |
| HWB | hwb(59 4% 64%) | color: hwb(59 4% 64%) | |
| OKLCH | oklch(0.455 0.0938 108.04) | color: oklch(0.455 0.0938 108.04) | |
| Lab | lab(37.13 -8.76 41.48) | color: lab(37.13 -8.76 41.48) | |
| LCH | lch(37.13 42.39 101.92) | color: lch(37.13 42.39 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: white
Color Blindness Simulation
Protanopia (Red-blind)
#5B5B1D — rgb(91, 91, 29)
Deuteranopia (Green-blind)
#5B5B22 — rgb(91, 91, 34)
Tritanopia (Blue-blind)
#5C2D30 — rgb(92, 45, 48)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(59, 80%, 20%);
text
color: hsl(59, 80%, 20%);
border
border: 2px solid hsl(59, 80%, 20%);
gradient light
background: linear-gradient(to right, hsl(59, 80%, 40%), hsl(59, 80%, 20%));
gradient dark
background: linear-gradient(to right, hsl(59, 80%, 20%), hsl(59, 80%, 0%))
hex
background-color: #5C5A0A;
tailwind
bg-[hsl(59,80%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(59, 80%, 20%, 0.4);
css variable
--color-primary: hsl(59, 80%, 20%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(59, 80%, 20%)?
HEX: #5C5A0A | RGB: rgb(92, 90, 10) | CMYK: 0%, 2%, 89%, 64% | HSV: 59°, 89%, 36%. Copy any format from the conversion table above.
What colors go well with #5C5A0A?
The complementary color is HSL(239, 80%, 20%). 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%, 20%) in CSS?
As HSL: color: hsl(59, 80%, 20%); — As HEX: color: #5C5A0A; — As RGB: color: rgb(92, 90, 10); — Tailwind CSS: bg-[hsl(59,80%,20%)] — CSS variable: --color-primary: hsl(59, 80%, 20%);