HSL(31, 45%, 43%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(31,45%,43%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(31, 45%, 43%) | color: hsl(31, 45%, 43%) | |
| HEX | #9F6F3C | color: #9F6F3C | |
| RGB | rgb(159, 111, 60) | color: rgb(159, 111, 60) | |
| CMYK | cmyk(0%, 30%, 62%, 38%) | — | |
| HSV | hsv(31, 62%, 62%) | — | |
| HWB | hwb(31 24% 38%) | color: hwb(31 24% 38%) | |
| OKLCH | oklch(0.5806 0.0909 65.99) | color: oklch(0.5806 0.0909 65.99) | |
| Lab | lab(50.77 13.52 35.54) | color: lab(50.77 13.52 35.54) | |
| LCH | lch(50.77 38.02 69.17) | color: lch(50.77 38.02 69.17) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#8A8A48 — rgb(138, 138, 72)
Deuteranopia (Green-blind)
#8D914B — rgb(141, 145, 75)
Tritanopia (Blue-blind)
#9D5254 — rgb(157, 82, 84)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(31, 45%, 43%);
text
color: hsl(31, 45%, 43%);
border
border: 2px solid hsl(31, 45%, 43%);
gradient light
background: linear-gradient(to right, hsl(31, 45%, 63%), hsl(31, 45%, 43%));
gradient dark
background: linear-gradient(to right, hsl(31, 45%, 43%), hsl(31, 45%, 23%))
hex
background-color: #9F6F3C;
tailwind
bg-[hsl(31,45%,43%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(31, 45%, 43%, 0.4);
css variable
--color-primary: hsl(31, 45%, 43%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(31, 45%, 43%)?
HEX: #9F6F3C | RGB: rgb(159, 111, 60) | CMYK: 0%, 30%, 62%, 38% | HSV: 31°, 62%, 62%. Copy any format from the conversion table above.
What colors go well with #9F6F3C?
The complementary color is HSL(211, 45%, 43%). For a triadic harmony, use hues 31°, 151°, and 271°. For analogous combinations, try hues 1° and 61°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(31, 45%, 43%) in CSS?
As HSL: color: hsl(31, 45%, 43%); — As HEX: color: #9F6F3C; — As RGB: color: rgb(159, 111, 60); — Tailwind CSS: bg-[hsl(31,45%,43%)] — CSS variable: --color-primary: hsl(31, 45%, 43%);