HSL(49, 75%, 17%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(49,75%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(49, 75%, 17%) | color: hsl(49, 75%, 17%) | |
| HEX | #4C400B | color: #4C400B | |
| RGB | rgb(76, 64, 11) | color: rgb(76, 64, 11) | |
| CMYK | cmyk(0%, 16%, 86%, 70%) | — | |
| HSV | hsv(49, 86%, 30%) | — | |
| HWB | hwb(49 4% 70%) | color: hwb(49 4% 70%) | |
| OKLCH | oklch(0.3735 0.07 95.57) | color: oklch(0.3735 0.07 95.57) | |
| Lab | lab(27.37 -1.19 31.96) | color: lab(27.37 -1.19 31.96) | |
| LCH | lch(27.37 31.98 92.13) | color: lch(27.37 31.98 92.13) |
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)
#474718 — rgb(71, 71, 24)
Deuteranopia (Green-blind)
#48481B — rgb(72, 72, 27)
Tritanopia (Blue-blind)
#4B2224 — rgb(75, 34, 36)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(49, 75%, 17%);
text
color: hsl(49, 75%, 17%);
border
border: 2px solid hsl(49, 75%, 17%);
gradient light
background: linear-gradient(to right, hsl(49, 75%, 37%), hsl(49, 75%, 17%));
gradient dark
background: linear-gradient(to right, hsl(49, 75%, 17%), hsl(49, 75%, 0%))
hex
background-color: #4C400B;
tailwind
bg-[hsl(49,75%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(49, 75%, 17%, 0.4);
css variable
--color-primary: hsl(49, 75%, 17%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(49, 75%, 17%)?
HEX: #4C400B | RGB: rgb(76, 64, 11) | CMYK: 0%, 16%, 86%, 70% | HSV: 49°, 86%, 30%. Copy any format from the conversion table above.
What colors go well with #4C400B?
The complementary color is HSL(229, 75%, 17%). 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, 75%, 17%) in CSS?
As HSL: color: hsl(49, 75%, 17%); — As HEX: color: #4C400B; — As RGB: color: rgb(76, 64, 11); — Tailwind CSS: bg-[hsl(49,75%,17%)] — CSS variable: --color-primary: hsl(49, 75%, 17%);