HSL(17, 56%, 40%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2000K
CSS Class
bg-[hsl(17,56%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(17, 56%, 40%) | color: hsl(17, 56%, 40%) | |
| HEX | #9F4D2D | color: #9F4D2D | |
| RGB | rgb(159, 77, 45) | color: rgb(159, 77, 45) | |
| CMYK | cmyk(0%, 52%, 72%, 38%) | — | |
| HSV | hsv(17, 72%, 62%) | — | |
| HWB | hwb(17 17% 38%) | color: hwb(17 17% 38%) | |
| OKLCH | oklch(0.5168 0.1183 41.16) | color: oklch(0.5168 0.1183 41.16) | |
| Lab | lab(42.57 31.61 34.22) | color: lab(42.57 31.61 34.22) | |
| LCH | lch(42.57 46.59 47.27) | color: lch(42.57 46.59 47.27) |
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)
#7B7B35 — rgb(123, 123, 53)
Deuteranopia (Green-blind)
#808637 — rgb(128, 134, 55)
Tritanopia (Blue-blind)
#9B3B3C — rgb(155, 59, 60)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(17, 56%, 40%);
text
color: hsl(17, 56%, 40%);
border
border: 2px solid hsl(17, 56%, 40%);
gradient light
background: linear-gradient(to right, hsl(17, 56%, 60%), hsl(17, 56%, 40%));
gradient dark
background: linear-gradient(to right, hsl(17, 56%, 40%), hsl(17, 56%, 20%))
hex
background-color: #9F4D2D;
tailwind
bg-[hsl(17,56%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(17, 56%, 40%, 0.4);
css variable
--color-primary: hsl(17, 56%, 40%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(17, 56%, 40%)?
HEX: #9F4D2D | RGB: rgb(159, 77, 45) | CMYK: 0%, 52%, 72%, 38% | HSV: 17°, 72%, 62%. Copy any format from the conversion table above.
What colors go well with #9F4D2D?
The complementary color is HSL(197, 56%, 40%). 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, 56%, 40%) in CSS?
As HSL: color: hsl(17, 56%, 40%); — As HEX: color: #9F4D2D; — As RGB: color: rgb(159, 77, 45); — Tailwind CSS: bg-[hsl(17,56%,40%)] — CSS variable: --color-primary: hsl(17, 56%, 40%);