HSL(52, 16%, 20%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(52,16%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(52, 16%, 20%) | color: hsl(52, 16%, 20%) | |
| HEX | #3B392B | color: #3B392B | |
| RGB | rgb(59, 57, 43) | color: rgb(59, 57, 43) | |
| CMYK | cmyk(0%, 3%, 27%, 77%) | — | |
| HSV | hsv(53, 27%, 23%) | — | |
| HWB | hwb(53 17% 77%) | color: hwb(53 17% 77%) | |
| OKLCH | oklch(0.3422 0.0235 100.75) | color: oklch(0.3422 0.0235 100.75) | |
| Lab | lab(23.77 -1.93 9.07) | color: lab(23.77 -1.93 9.07) | |
| LCH | lch(23.77 9.27 102.01) | color: lch(23.77 9.27 102.01) |
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)
#3A3A2E — rgb(58, 58, 46)
Deuteranopia (Green-blind)
#3A3A2F — rgb(58, 58, 47)
Tritanopia (Blue-blind)
#3B3132 — rgb(59, 49, 50)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(52, 16%, 20%);
text
color: hsl(52, 16%, 20%);
border
border: 2px solid hsl(52, 16%, 20%);
gradient light
background: linear-gradient(to right, hsl(52, 16%, 40%), hsl(52, 16%, 20%));
gradient dark
background: linear-gradient(to right, hsl(52, 16%, 20%), hsl(52, 16%, 0%))
hex
background-color: #3B392B;
tailwind
bg-[hsl(52,16%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(52, 16%, 20%, 0.4);
css variable
--color-primary: hsl(52, 16%, 20%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(52, 16%, 20%)?
HEX: #3B392B | RGB: rgb(59, 57, 43) | CMYK: 0%, 3%, 27%, 77% | HSV: 53°, 27%, 23%. Copy any format from the conversion table above.
What colors go well with #3B392B?
The complementary color is HSL(232, 16%, 20%). For a triadic harmony, use hues 52°, 172°, and 292°. For analogous combinations, try hues 22° and 82°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(52, 16%, 20%) in CSS?
As HSL: color: hsl(52, 16%, 20%); — As HEX: color: #3B392B; — As RGB: color: rgb(59, 57, 43); — Tailwind CSS: bg-[hsl(52,16%,20%)] — CSS variable: --color-primary: hsl(52, 16%, 20%);