HSL(53, 75%, 21%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(53,75%,21%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(53, 75%, 21%) | color: hsl(53, 75%, 21%) | |
| HEX | #5E540D | color: #5E540D | |
| RGB | rgb(94, 84, 13) | color: rgb(94, 84, 13) | |
| CMYK | cmyk(0%, 11%, 86%, 63%) | — | |
| HSV | hsv(53, 86%, 37%) | — | |
| HWB | hwb(53 5% 63%) | color: hwb(53 5% 63%) | |
| OKLCH | oklch(0.4425 0.0863 100.68) | color: oklch(0.4425 0.0863 100.68) | |
| Lab | lab(35.5 -4.14 39.24) | color: lab(35.5 -4.14 39.24) | |
| LCH | lch(35.5 39.46 96.02) | color: lch(35.5 39.46 96.02) |
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)
#5A5A1E — rgb(90, 90, 30)
Deuteranopia (Green-blind)
#5A5B22 — rgb(90, 91, 34)
Tritanopia (Blue-blind)
#5E2C2F — rgb(94, 44, 47)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(53, 75%, 21%);
text
color: hsl(53, 75%, 21%);
border
border: 2px solid hsl(53, 75%, 21%);
gradient light
background: linear-gradient(to right, hsl(53, 75%, 41%), hsl(53, 75%, 21%));
gradient dark
background: linear-gradient(to right, hsl(53, 75%, 21%), hsl(53, 75%, 1%))
hex
background-color: #5E540D;
tailwind
bg-[hsl(53,75%,21%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(53, 75%, 21%, 0.4);
css variable
--color-primary: hsl(53, 75%, 21%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(53, 75%, 21%)?
HEX: #5E540D | RGB: rgb(94, 84, 13) | CMYK: 0%, 11%, 86%, 63% | HSV: 53°, 86%, 37%. Copy any format from the conversion table above.
What colors go well with #5E540D?
The complementary color is HSL(233, 75%, 21%). 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, 75%, 21%) in CSS?
As HSL: color: hsl(53, 75%, 21%); — As HEX: color: #5E540D; — As RGB: color: rgb(94, 84, 13); — Tailwind CSS: bg-[hsl(53,75%,21%)] — CSS variable: --color-primary: hsl(53, 75%, 21%);