HSL(52, 63%, 24%)
Yellow — Yellow color
Adjust Color
Color Information
Color Name
Yellow
Color Family
Yellow
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(52,63%,24%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(52, 63%, 24%) | color: hsl(52, 63%, 24%) | |
| HEX | #645917 | color: #645917 | |
| RGB | rgb(100, 89, 23) | color: rgb(100, 89, 23) | |
| CMYK | cmyk(0%, 11%, 77%, 61%) | — | |
| HSV | hsv(51, 77%, 39%) | — | |
| HWB | hwb(51 9% 61%) | color: hwb(51 9% 61%) | |
| OKLCH | oklch(0.4616 0.0846 99.51) | color: oklch(0.4616 0.0846 99.51) | |
| Lab | lab(37.69 -3.68 37.68) | color: lab(37.69 -3.68 37.68) | |
| LCH | lch(37.69 37.86 95.58) | color: lch(37.69 37.86 95.58) |
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)
#5F5F27 — rgb(95, 95, 39)
Deuteranopia (Green-blind)
#60612B — rgb(96, 97, 43)
Tritanopia (Blue-blind)
#633436 — rgb(99, 52, 54)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(52, 63%, 24%);
text
color: hsl(52, 63%, 24%);
border
border: 2px solid hsl(52, 63%, 24%);
gradient light
background: linear-gradient(to right, hsl(52, 63%, 44%), hsl(52, 63%, 24%));
gradient dark
background: linear-gradient(to right, hsl(52, 63%, 24%), hsl(52, 63%, 4%))
hex
background-color: #645917;
tailwind
bg-[hsl(52,63%,24%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(52, 63%, 24%, 0.4);
css variable
--color-primary: hsl(52, 63%, 24%);
Related Colors
Use Cases for Yellow
Frequently Asked Questions
What are all the color codes for HSL(52, 63%, 24%)?
HEX: #645917 | RGB: rgb(100, 89, 23) | CMYK: 0%, 11%, 77%, 61% | HSV: 51°, 77%, 39%. Copy any format from the conversion table above.
What colors go well with #645917?
The complementary color is HSL(232, 63%, 24%). 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, 63%, 24%) in CSS?
As HSL: color: hsl(52, 63%, 24%); — As HEX: color: #645917; — As RGB: color: rgb(100, 89, 23); — Tailwind CSS: bg-[hsl(52,63%,24%)] — CSS variable: --color-primary: hsl(52, 63%, 24%);