HSL(57, 54%, 20%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(57,54%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(57, 54%, 20%) | color: hsl(57, 54%, 20%) | |
| HEX | #4F4C17 | color: #4F4C17 | |
| RGB | rgb(79, 76, 23) | color: rgb(79, 76, 23) | |
| CMYK | cmyk(0%, 4%, 71%, 69%) | — | |
| HSV | hsv(57, 71%, 31%) | — | |
| HWB | hwb(57 9% 69%) | color: hwb(57 9% 69%) | |
| OKLCH | oklch(0.4078 0.0725 106.08) | color: oklch(0.4078 0.0725 106.08) | |
| Lab | lab(31.56 -6.33 30.8) | color: lab(31.56 -6.33 30.8) | |
| LCH | lch(31.56 31.44 101.61) | color: lch(31.56 31.44 101.61) |
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)
#4E4E24 — rgb(78, 78, 36)
Deuteranopia (Green-blind)
#4E4E27 — rgb(78, 78, 39)
Tritanopia (Blue-blind)
#4F2E30 — rgb(79, 46, 48)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(57, 54%, 20%);
text
color: hsl(57, 54%, 20%);
border
border: 2px solid hsl(57, 54%, 20%);
gradient light
background: linear-gradient(to right, hsl(57, 54%, 40%), hsl(57, 54%, 20%));
gradient dark
background: linear-gradient(to right, hsl(57, 54%, 20%), hsl(57, 54%, 0%))
hex
background-color: #4F4C17;
tailwind
bg-[hsl(57,54%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(57, 54%, 20%, 0.4);
css variable
--color-primary: hsl(57, 54%, 20%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(57, 54%, 20%)?
HEX: #4F4C17 | RGB: rgb(79, 76, 23) | CMYK: 0%, 4%, 71%, 69% | HSV: 57°, 71%, 31%. Copy any format from the conversion table above.
What colors go well with #4F4C17?
The complementary color is HSL(237, 54%, 20%). For a triadic harmony, use hues 57°, 177°, and 297°. For analogous combinations, try hues 27° and 87°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(57, 54%, 20%) in CSS?
As HSL: color: hsl(57, 54%, 20%); — As HEX: color: #4F4C17; — As RGB: color: rgb(79, 76, 23); — Tailwind CSS: bg-[hsl(57,54%,20%)] — CSS variable: --color-primary: hsl(57, 54%, 20%);