HSL(52, 30%, 19%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(52,30%,19%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(52, 30%, 19%) | color: hsl(52, 30%, 19%) | |
| HEX | #3F3B22 | color: #3F3B22 | |
| RGB | rgb(63, 59, 34) | color: rgb(63, 59, 34) | |
| CMYK | cmyk(0%, 6%, 46%, 75%) | — | |
| HSV | hsv(52, 46%, 25%) | — | |
| HWB | hwb(52 14% 75%) | color: hwb(52 14% 75%) | |
| OKLCH | oklch(0.3494 0.04 100.3) | color: oklch(0.3494 0.04 100.3) | |
| Lab | lab(24.64 -2.68 16.12) | color: lab(24.64 -2.68 16.12) | |
| LCH | lch(24.64 16.34 99.44) | color: lch(24.64 16.34 99.44) |
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)
#3D3D28 — rgb(61, 61, 40)
Deuteranopia (Green-blind)
#3E3E2A — rgb(62, 62, 42)
Tritanopia (Blue-blind)
#3F2D2E — rgb(63, 45, 46)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(52, 30%, 19%);
text
color: hsl(52, 30%, 19%);
border
border: 2px solid hsl(52, 30%, 19%);
gradient light
background: linear-gradient(to right, hsl(52, 30%, 39%), hsl(52, 30%, 19%));
gradient dark
background: linear-gradient(to right, hsl(52, 30%, 19%), hsl(52, 30%, 0%))
hex
background-color: #3F3B22;
tailwind
bg-[hsl(52,30%,19%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(52, 30%, 19%, 0.4);
css variable
--color-primary: hsl(52, 30%, 19%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(52, 30%, 19%)?
HEX: #3F3B22 | RGB: rgb(63, 59, 34) | CMYK: 0%, 6%, 46%, 75% | HSV: 52°, 46%, 25%. Copy any format from the conversion table above.
What colors go well with #3F3B22?
The complementary color is HSL(232, 30%, 19%). 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, 30%, 19%) in CSS?
As HSL: color: hsl(52, 30%, 19%); — As HEX: color: #3F3B22; — As RGB: color: rgb(63, 59, 34); — Tailwind CSS: bg-[hsl(52,30%,19%)] — CSS variable: --color-primary: hsl(52, 30%, 19%);