HSL(59, 64%, 22%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(59,64%,22%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(59, 64%, 22%) | color: hsl(59, 64%, 22%) | |
| HEX | #5C5B14 | color: #5C5B14 | |
| RGB | rgb(92, 91, 20) | color: rgb(92, 91, 20) | |
| CMYK | cmyk(0%, 1%, 78%, 64%) | — | |
| HSV | hsv(59, 78%, 36%) | — | |
| HWB | hwb(59 8% 64%) | color: hwb(59 8% 64%) | |
| OKLCH | oklch(0.4581 0.0894 108.64) | color: oklch(0.4581 0.0894 108.64) | |
| Lab | lab(37.5 -8.93 38.44) | color: lab(37.5 -8.93 38.44) | |
| LCH | lch(37.5 39.46 103.08) | color: lch(37.5 39.46 103.08) |
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)
#5C5C25 — rgb(92, 92, 37)
Deuteranopia (Green-blind)
#5C5C29 — rgb(92, 92, 41)
Tritanopia (Blue-blind)
#5C3336 — rgb(92, 51, 54)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(59, 64%, 22%);
text
color: hsl(59, 64%, 22%);
border
border: 2px solid hsl(59, 64%, 22%);
gradient light
background: linear-gradient(to right, hsl(59, 64%, 42%), hsl(59, 64%, 22%));
gradient dark
background: linear-gradient(to right, hsl(59, 64%, 22%), hsl(59, 64%, 2%))
hex
background-color: #5C5B14;
tailwind
bg-[hsl(59,64%,22%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(59, 64%, 22%, 0.4);
css variable
--color-primary: hsl(59, 64%, 22%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(59, 64%, 22%)?
HEX: #5C5B14 | RGB: rgb(92, 91, 20) | CMYK: 0%, 1%, 78%, 64% | HSV: 59°, 78%, 36%. Copy any format from the conversion table above.
What colors go well with #5C5B14?
The complementary color is HSL(239, 64%, 22%). 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, 64%, 22%) in CSS?
As HSL: color: hsl(59, 64%, 22%); — As HEX: color: #5C5B14; — As RGB: color: rgb(92, 91, 20); — Tailwind CSS: bg-[hsl(59,64%,22%)] — CSS variable: --color-primary: hsl(59, 64%, 22%);