HSL(54, 50%, 23%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(54,50%,23%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(54, 50%, 23%) | color: hsl(54, 50%, 23%) | |
| HEX | #58521D | color: #58521D | |
| RGB | rgb(88, 82, 29) | color: rgb(88, 82, 29) | |
| CMYK | cmyk(0%, 7%, 67%, 65%) | — | |
| HSV | hsv(54, 67%, 35%) | — | |
| HWB | hwb(54 12% 65%) | color: hwb(54 12% 65%) | |
| OKLCH | oklch(0.4327 0.0729 102.87) | color: oklch(0.4327 0.0729 102.87) | |
| Lab | lab(34.39 -5.02 31.1) | color: lab(34.39 -5.02 31.1) | |
| LCH | lch(34.39 31.5 99.17) | color: lch(34.39 31.5 99.17) |
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)
#55552A — rgb(85, 85, 42)
Deuteranopia (Green-blind)
#56562D — rgb(86, 86, 45)
Tritanopia (Blue-blind)
#583436 — rgb(88, 52, 54)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(54, 50%, 23%);
text
color: hsl(54, 50%, 23%);
border
border: 2px solid hsl(54, 50%, 23%);
gradient light
background: linear-gradient(to right, hsl(54, 50%, 43%), hsl(54, 50%, 23%));
gradient dark
background: linear-gradient(to right, hsl(54, 50%, 23%), hsl(54, 50%, 3%))
hex
background-color: #58521D;
tailwind
bg-[hsl(54,50%,23%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(54, 50%, 23%, 0.4);
css variable
--color-primary: hsl(54, 50%, 23%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(54, 50%, 23%)?
HEX: #58521D | RGB: rgb(88, 82, 29) | CMYK: 0%, 7%, 67%, 65% | HSV: 54°, 67%, 35%. Copy any format from the conversion table above.
What colors go well with #58521D?
The complementary color is HSL(234, 50%, 23%). For a triadic harmony, use hues 54°, 174°, and 294°. For analogous combinations, try hues 24° and 84°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(54, 50%, 23%) in CSS?
As HSL: color: hsl(54, 50%, 23%); — As HEX: color: #58521D; — As RGB: color: rgb(88, 82, 29); — Tailwind CSS: bg-[hsl(54,50%,23%)] — CSS variable: --color-primary: hsl(54, 50%, 23%);