HSL(49, 20%, 20%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(49,20%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(49, 20%, 20%) | color: hsl(49, 20%, 20%) | |
| HEX | #3D3929 | color: #3D3929 | |
| RGB | rgb(61, 57, 41) | color: rgb(61, 57, 41) | |
| CMYK | cmyk(0%, 7%, 33%, 76%) | — | |
| HSV | hsv(48, 33%, 24%) | — | |
| HWB | hwb(48 16% 76%) | color: hwb(48 16% 76%) | |
| OKLCH | oklch(0.3438 0.0269 95.72) | color: oklch(0.3438 0.0269 95.72) | |
| Lab | lab(23.93 -1.32 10.63) | color: lab(23.93 -1.32 10.63) | |
| LCH | lch(23.93 10.71 97.08) | color: lch(23.93 10.71 97.08) |
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)
#3B3B2D — rgb(59, 59, 45)
Deuteranopia (Green-blind)
#3C3C2E — rgb(60, 60, 46)
Tritanopia (Blue-blind)
#3D3031 — rgb(61, 48, 49)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(49, 20%, 20%);
text
color: hsl(49, 20%, 20%);
border
border: 2px solid hsl(49, 20%, 20%);
gradient light
background: linear-gradient(to right, hsl(49, 20%, 40%), hsl(49, 20%, 20%));
gradient dark
background: linear-gradient(to right, hsl(49, 20%, 20%), hsl(49, 20%, 0%))
hex
background-color: #3D3929;
tailwind
bg-[hsl(49,20%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(49, 20%, 20%, 0.4);
css variable
--color-primary: hsl(49, 20%, 20%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(49, 20%, 20%)?
HEX: #3D3929 | RGB: rgb(61, 57, 41) | CMYK: 0%, 7%, 33%, 76% | HSV: 48°, 33%, 24%. Copy any format from the conversion table above.
What colors go well with #3D3929?
The complementary color is HSL(229, 20%, 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, 20%, 20%) in CSS?
As HSL: color: hsl(49, 20%, 20%); — As HEX: color: #3D3929; — As RGB: color: rgb(61, 57, 41); — Tailwind CSS: bg-[hsl(49,20%,20%)] — CSS variable: --color-primary: hsl(49, 20%, 20%);