HSL(52, 41%, 20%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(52,41%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(52, 41%, 20%) | color: hsl(52, 41%, 20%) | |
| HEX | #48421E | color: #48421E | |
| RGB | rgb(72, 66, 30) | color: rgb(72, 66, 30) | |
| CMYK | cmyk(0%, 8%, 58%, 72%) | — | |
| HSV | hsv(51, 58%, 28%) | — | |
| HWB | hwb(51 12% 72%) | color: hwb(51 12% 72%) | |
| OKLCH | oklch(0.3762 0.0542 100.01) | color: oklch(0.3762 0.0542 100.01) | |
| Lab | lab(27.76 -3.09 22.6) | color: lab(27.76 -3.09 22.6) | |
| LCH | lch(27.76 22.81 97.79) | color: lch(27.76 22.81 97.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)
#454527 — rgb(69, 69, 39)
Deuteranopia (Green-blind)
#464629 — rgb(70, 70, 41)
Tritanopia (Blue-blind)
#482E2F — rgb(72, 46, 47)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(52, 41%, 20%);
text
color: hsl(52, 41%, 20%);
border
border: 2px solid hsl(52, 41%, 20%);
gradient light
background: linear-gradient(to right, hsl(52, 41%, 40%), hsl(52, 41%, 20%));
gradient dark
background: linear-gradient(to right, hsl(52, 41%, 20%), hsl(52, 41%, 0%))
hex
background-color: #48421E;
tailwind
bg-[hsl(52,41%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(52, 41%, 20%, 0.4);
css variable
--color-primary: hsl(52, 41%, 20%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(52, 41%, 20%)?
HEX: #48421E | RGB: rgb(72, 66, 30) | CMYK: 0%, 8%, 58%, 72% | HSV: 51°, 58%, 28%. Copy any format from the conversion table above.
What colors go well with #48421E?
The complementary color is HSL(232, 41%, 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, 41%, 20%) in CSS?
As HSL: color: hsl(52, 41%, 20%); — As HEX: color: #48421E; — As RGB: color: rgb(72, 66, 30); — Tailwind CSS: bg-[hsl(52,41%,20%)] — CSS variable: --color-primary: hsl(52, 41%, 20%);