HSL(53, 79%, 20%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(53,79%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(53, 79%, 20%) | color: hsl(53, 79%, 20%) | |
| HEX | #5B520B | color: #5B520B | |
| RGB | rgb(91, 82, 11) | color: rgb(91, 82, 11) | |
| CMYK | cmyk(0%, 10%, 88%, 64%) | — | |
| HSV | hsv(53, 88%, 36%) | — | |
| HWB | hwb(53 4% 64%) | color: hwb(53 4% 64%) | |
| OKLCH | oklch(0.4344 0.0857 101.51) | color: oklch(0.4344 0.0857 101.51) | |
| Lab | lab(34.57 -4.53 38.96) | color: lab(34.57 -4.53 38.96) | |
| LCH | lch(34.57 39.22 96.63) | color: lch(34.57 39.22 96.63) |
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)
#57571C — rgb(87, 87, 28)
Deuteranopia (Green-blind)
#585820 — rgb(88, 88, 32)
Tritanopia (Blue-blind)
#5B2A2D — rgb(91, 42, 45)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(53, 79%, 20%);
text
color: hsl(53, 79%, 20%);
border
border: 2px solid hsl(53, 79%, 20%);
gradient light
background: linear-gradient(to right, hsl(53, 79%, 40%), hsl(53, 79%, 20%));
gradient dark
background: linear-gradient(to right, hsl(53, 79%, 20%), hsl(53, 79%, 0%))
hex
background-color: #5B520B;
tailwind
bg-[hsl(53,79%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(53, 79%, 20%, 0.4);
css variable
--color-primary: hsl(53, 79%, 20%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(53, 79%, 20%)?
HEX: #5B520B | RGB: rgb(91, 82, 11) | CMYK: 0%, 10%, 88%, 64% | HSV: 53°, 88%, 36%. Copy any format from the conversion table above.
What colors go well with #5B520B?
The complementary color is HSL(233, 79%, 20%). For a triadic harmony, use hues 53°, 173°, and 293°. For analogous combinations, try hues 23° and 83°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(53, 79%, 20%) in CSS?
As HSL: color: hsl(53, 79%, 20%); — As HEX: color: #5B520B; — As RGB: color: rgb(91, 82, 11); — Tailwind CSS: bg-[hsl(53,79%,20%)] — CSS variable: --color-primary: hsl(53, 79%, 20%);