HSL(59, 50%, 54%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(59,50%,54%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(59, 50%, 54%) | color: hsl(59, 50%, 54%) | |
| HEX | #C4C24F | color: #C4C24F | |
| RGB | rgb(196, 194, 79) | color: rgb(196, 194, 79) | |
| CMYK | cmyk(0%, 1%, 60%, 23%) | — | |
| HSV | hsv(59, 60%, 77%) | — | |
| HWB | hwb(59 31% 23%) | color: hwb(59 31% 23%) | |
| OKLCH | oklch(0.7935 0.1365 108.21) | color: oklch(0.7935 0.1365 108.21) | |
| Lab | lab(76.61 -13.95 56.54) | color: lab(76.61 -13.95 56.54) | |
| LCH | lch(76.61 58.24 103.86) | color: lch(76.61 58.24 103.86) |
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)
#C3C36B — rgb(195, 195, 107)
Deuteranopia (Green-blind)
#C3C372 — rgb(195, 195, 114)
Tritanopia (Blue-blind)
#C48186 — rgb(196, 129, 134)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(59, 50%, 54%);
text
color: hsl(59, 50%, 54%);
border
border: 2px solid hsl(59, 50%, 54%);
gradient light
background: linear-gradient(to right, hsl(59, 50%, 74%), hsl(59, 50%, 54%));
gradient dark
background: linear-gradient(to right, hsl(59, 50%, 54%), hsl(59, 50%, 34%))
hex
background-color: #C4C24F;
tailwind
bg-[hsl(59,50%,54%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(59, 50%, 54%, 0.4);
css variable
--color-primary: hsl(59, 50%, 54%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(59, 50%, 54%)?
HEX: #C4C24F | RGB: rgb(196, 194, 79) | CMYK: 0%, 1%, 60%, 23% | HSV: 59°, 60%, 77%. Copy any format from the conversion table above.
What colors go well with #C4C24F?
The complementary color is HSL(239, 50%, 54%). 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, 50%, 54%) in CSS?
As HSL: color: hsl(59, 50%, 54%); — As HEX: color: #C4C24F; — As RGB: color: rgb(196, 194, 79); — Tailwind CSS: bg-[hsl(59,50%,54%)] — CSS variable: --color-primary: hsl(59, 50%, 54%);