HSL(51, 52%, 24%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(51,52%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(51, 52%, 24%) | color: hsl(51, 52%, 24%) | |
| HEX | #5D531D | color: #5D531D | |
| RGB | rgb(93, 83, 29) | color: rgb(93, 83, 29) | |
| CMYK | cmyk(0%, 11%, 69%, 64%) | — | |
| HSV | hsv(51, 69%, 36%) | — | |
| HWB | hwb(51 11% 64%) | color: hwb(51 11% 64%) | |
| OKLCH | oklch(0.4404 0.074 98.78) | color: oklch(0.4404 0.074 98.78) | |
| Lab | lab(35.21 -3.17 32.13) | color: lab(35.21 -3.17 32.13) | |
| LCH | lch(35.21 32.29 95.63) | color: lch(35.21 32.29 95.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)
#59592A — rgb(89, 89, 42)
Deuteranopia (Green-blind)
#595A2D — rgb(89, 90, 45)
Tritanopia (Blue-blind)
#5D3437 — rgb(93, 52, 55)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(51, 52%, 24%);
text
color: hsl(51, 52%, 24%);
border
border: 2px solid hsl(51, 52%, 24%);
gradient light
background: linear-gradient(to right, hsl(51, 52%, 44%), hsl(51, 52%, 24%));
gradient dark
background: linear-gradient(to right, hsl(51, 52%, 24%), hsl(51, 52%, 4%))
hex
background-color: #5D531D;
tailwind
bg-[hsl(51,52%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(51, 52%, 24%, 0.4);
css variable
--color-primary: hsl(51, 52%, 24%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(51, 52%, 24%)?
HEX: #5D531D | RGB: rgb(93, 83, 29) | CMYK: 0%, 11%, 69%, 64% | HSV: 51°, 69%, 36%. Copy any format from the conversion table above.
What colors go well with #5D531D?
The complementary color is HSL(231, 52%, 24%). For a triadic harmony, use hues 51°, 171°, and 291°. For analogous combinations, try hues 21° and 81°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(51, 52%, 24%) in CSS?
As HSL: color: hsl(51, 52%, 24%); — As HEX: color: #5D531D; — As RGB: color: rgb(93, 83, 29); — Tailwind CSS: bg-[hsl(51,52%,24%)] — CSS variable: --color-primary: hsl(51, 52%, 24%);