HSL(52, 82%, 20%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(52,82%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(52, 82%, 20%) | color: hsl(52, 82%, 20%) | |
| HEX | #5D5209 | color: #5D5209 | |
| RGB | rgb(93, 82, 9) | color: rgb(93, 82, 9) | |
| CMYK | cmyk(0%, 12%, 90%, 64%) | — | |
| HSV | hsv(52, 90%, 36%) | — | |
| HWB | hwb(52 4% 64%) | color: hwb(52 4% 64%) | |
| OKLCH | oklch(0.4364 0.0866 99.8) | color: oklch(0.4364 0.0866 99.8) | |
| Lab | lab(34.77 -3.59 39.83) | color: lab(34.77 -3.59 39.83) | |
| LCH | lch(34.77 39.99 95.15) | color: lch(34.77 39.99 95.15) |
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)
#58581B — rgb(88, 88, 27)
Deuteranopia (Green-blind)
#595A1F — rgb(89, 90, 31)
Tritanopia (Blue-blind)
#5C292C — rgb(92, 41, 44)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(52, 82%, 20%);
text
color: hsl(52, 82%, 20%);
border
border: 2px solid hsl(52, 82%, 20%);
gradient light
background: linear-gradient(to right, hsl(52, 82%, 40%), hsl(52, 82%, 20%));
gradient dark
background: linear-gradient(to right, hsl(52, 82%, 20%), hsl(52, 82%, 0%))
hex
background-color: #5D5209;
tailwind
bg-[hsl(52,82%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(52, 82%, 20%, 0.4);
css variable
--color-primary: hsl(52, 82%, 20%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(52, 82%, 20%)?
HEX: #5D5209 | RGB: rgb(93, 82, 9) | CMYK: 0%, 12%, 90%, 64% | HSV: 52°, 90%, 36%. Copy any format from the conversion table above.
What colors go well with #5D5209?
The complementary color is HSL(232, 82%, 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, 82%, 20%) in CSS?
As HSL: color: hsl(52, 82%, 20%); — As HEX: color: #5D5209; — As RGB: color: rgb(93, 82, 9); — Tailwind CSS: bg-[hsl(52,82%,20%)] — CSS variable: --color-primary: hsl(52, 82%, 20%);