HSL(49, 55%, 20%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(49,55%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(49, 55%, 20%) | color: hsl(49, 55%, 20%) | |
| HEX | #4F4517 | color: #4F4517 | |
| RGB | rgb(79, 69, 23) | color: rgb(79, 69, 23) | |
| CMYK | cmyk(0%, 13%, 71%, 69%) | — | |
| HSV | hsv(49, 71%, 31%) | — | |
| HWB | hwb(49 9% 69%) | color: hwb(49 9% 69%) | |
| OKLCH | oklch(0.3904 0.0652 96.96) | color: oklch(0.3904 0.0652 96.96) | |
| Lab | lab(29.36 -2.05 28.47) | color: lab(29.36 -2.05 28.47) | |
| LCH | lch(29.36 28.54 94.12) | color: lch(29.36 28.54 94.12) |
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)
#4B4B22 — rgb(75, 75, 34)
Deuteranopia (Green-blind)
#4B4C25 — rgb(75, 76, 37)
Tritanopia (Blue-blind)
#4F2B2D — rgb(79, 43, 45)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(49, 55%, 20%);
text
color: hsl(49, 55%, 20%);
border
border: 2px solid hsl(49, 55%, 20%);
gradient light
background: linear-gradient(to right, hsl(49, 55%, 40%), hsl(49, 55%, 20%));
gradient dark
background: linear-gradient(to right, hsl(49, 55%, 20%), hsl(49, 55%, 0%))
hex
background-color: #4F4517;
tailwind
bg-[hsl(49,55%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(49, 55%, 20%, 0.4);
css variable
--color-primary: hsl(49, 55%, 20%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(49, 55%, 20%)?
HEX: #4F4517 | RGB: rgb(79, 69, 23) | CMYK: 0%, 13%, 71%, 69% | HSV: 49°, 71%, 31%. Copy any format from the conversion table above.
What colors go well with #4F4517?
The complementary color is HSL(229, 55%, 20%). For a triadic harmony, use hues 49°, 169°, and 289°. For analogous combinations, try hues 19° and 79°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(49, 55%, 20%) in CSS?
As HSL: color: hsl(49, 55%, 20%); — As HEX: color: #4F4517; — As RGB: color: rgb(79, 69, 23); — Tailwind CSS: bg-[hsl(49,55%,20%)] — CSS variable: --color-primary: hsl(49, 55%, 20%);