HSL(17, 75%, 21%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(17,75%,21%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(17, 75%, 21%) | color: hsl(17, 75%, 21%) | |
| HEX | #5E240D | color: #5E240D | |
| RGB | rgb(94, 36, 13) | color: rgb(94, 36, 13) | |
| CMYK | cmyk(0%, 62%, 86%, 63%) | — | |
| HSV | hsv(17, 86%, 37%) | — | |
| HWB | hwb(17 5% 63%) | color: hwb(17 5% 63%) | |
| OKLCH | oklch(0.3418 0.0914 40.42) | color: oklch(0.3418 0.0914 40.42) | |
| Lab | lab(22.55 25.09 27.31) | color: lab(22.55 25.09 27.31) | |
| LCH | lch(22.55 37.09 47.43) | color: lch(22.55 37.09 47.43) |
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)
#454413 — rgb(69, 68, 19)
Deuteranopia (Green-blind)
#484D14 — rgb(72, 77, 20)
Tritanopia (Blue-blind)
#5B1718 — rgb(91, 23, 24)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(17, 75%, 21%);
text
color: hsl(17, 75%, 21%);
border
border: 2px solid hsl(17, 75%, 21%);
gradient light
background: linear-gradient(to right, hsl(17, 75%, 41%), hsl(17, 75%, 21%));
gradient dark
background: linear-gradient(to right, hsl(17, 75%, 21%), hsl(17, 75%, 1%))
hex
background-color: #5E240D;
tailwind
bg-[hsl(17,75%,21%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(17, 75%, 21%, 0.4);
css variable
--color-primary: hsl(17, 75%, 21%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(17, 75%, 21%)?
HEX: #5E240D | RGB: rgb(94, 36, 13) | CMYK: 0%, 62%, 86%, 63% | HSV: 17°, 86%, 37%. Copy any format from the conversion table above.
What colors go well with #5E240D?
The complementary color is HSL(197, 75%, 21%). For a triadic harmony, use hues 17°, 137°, and 257°. For analogous combinations, try hues 347° and 47°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(17, 75%, 21%) in CSS?
As HSL: color: hsl(17, 75%, 21%); — As HEX: color: #5E240D; — As RGB: color: rgb(94, 36, 13); — Tailwind CSS: bg-[hsl(17,75%,21%)] — CSS variable: --color-primary: hsl(17, 75%, 21%);