HSL(24, 60%, 21%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(24,60%,21%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(24, 60%, 21%) | color: hsl(24, 60%, 21%) | |
| HEX | #562F15 | color: #562F15 | |
| RGB | rgb(86, 47, 21) | color: rgb(86, 47, 21) | |
| CMYK | cmyk(0%, 45%, 76%, 66%) | — | |
| HSV | hsv(24, 76%, 34%) | — | |
| HWB | hwb(24 8% 66%) | color: hwb(24 8% 66%) | |
| OKLCH | oklch(0.3495 0.0687 52.19) | color: oklch(0.3495 0.0687 52.19) | |
| Lab | lab(23.89 15.29 23.88) | color: lab(23.89 15.29 23.88) | |
| LCH | lch(23.89 28.36 57.37) | color: lch(23.89 28.36 57.37) |
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)
#45451B — rgb(69, 69, 27)
Deuteranopia (Green-blind)
#474A1D — rgb(71, 74, 29)
Tritanopia (Blue-blind)
#542021 — rgb(84, 32, 33)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(24, 60%, 21%);
text
color: hsl(24, 60%, 21%);
border
border: 2px solid hsl(24, 60%, 21%);
gradient light
background: linear-gradient(to right, hsl(24, 60%, 41%), hsl(24, 60%, 21%));
gradient dark
background: linear-gradient(to right, hsl(24, 60%, 21%), hsl(24, 60%, 1%))
hex
background-color: #562F15;
tailwind
bg-[hsl(24,60%,21%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(24, 60%, 21%, 0.4);
css variable
--color-primary: hsl(24, 60%, 21%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(24, 60%, 21%)?
HEX: #562F15 | RGB: rgb(86, 47, 21) | CMYK: 0%, 45%, 76%, 66% | HSV: 24°, 76%, 34%. Copy any format from the conversion table above.
What colors go well with #562F15?
The complementary color is HSL(204, 60%, 21%). For a triadic harmony, use hues 24°, 144°, and 264°. For analogous combinations, try hues 354° and 54°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(24, 60%, 21%) in CSS?
As HSL: color: hsl(24, 60%, 21%); — As HEX: color: #562F15; — As RGB: color: rgb(86, 47, 21); — Tailwind CSS: bg-[hsl(24,60%,21%)] — CSS variable: --color-primary: hsl(24, 60%, 21%);