HSL(47, 50%, 17%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(47,50%,17%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(47, 50%, 17%) | color: hsl(47, 50%, 17%) | |
| HEX | #413816 | color: #413816 | |
| RGB | rgb(65, 56, 22) | color: rgb(65, 56, 22) | |
| CMYK | cmyk(0%, 14%, 66%, 75%) | — | |
| HSV | hsv(47, 66%, 25%) | — | |
| HWB | hwb(47 9% 75%) | color: hwb(47 9% 75%) | |
| OKLCH | oklch(0.3419 0.0521 94.66) | color: oklch(0.3419 0.0521 94.66) | |
| Lab | lab(23.71 -1.09 22.33) | color: lab(23.71 -1.09 22.33) | |
| LCH | lch(23.71 22.36 92.79) | color: lch(23.71 22.36 92.79) |
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)
#3D3D1E — rgb(61, 61, 30)
Deuteranopia (Green-blind)
#3E3E20 — rgb(62, 62, 32)
Tritanopia (Blue-blind)
#412526 — rgb(65, 37, 38)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(47, 50%, 17%);
text
color: hsl(47, 50%, 17%);
border
border: 2px solid hsl(47, 50%, 17%);
gradient light
background: linear-gradient(to right, hsl(47, 50%, 37%), hsl(47, 50%, 17%));
gradient dark
background: linear-gradient(to right, hsl(47, 50%, 17%), hsl(47, 50%, 0%))
hex
background-color: #413816;
tailwind
bg-[hsl(47,50%,17%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(47, 50%, 17%, 0.4);
css variable
--color-primary: hsl(47, 50%, 17%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(47, 50%, 17%)?
HEX: #413816 | RGB: rgb(65, 56, 22) | CMYK: 0%, 14%, 66%, 75% | HSV: 47°, 66%, 25%. Copy any format from the conversion table above.
What colors go well with #413816?
The complementary color is HSL(227, 50%, 17%). For a triadic harmony, use hues 47°, 167°, and 287°. For analogous combinations, try hues 17° and 77°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(47, 50%, 17%) in CSS?
As HSL: color: hsl(47, 50%, 17%); — As HEX: color: #413816; — As RGB: color: rgb(65, 56, 22); — Tailwind CSS: bg-[hsl(47,50%,17%)] — CSS variable: --color-primary: hsl(47, 50%, 17%);