HSL(31, 100%, 31%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(31,100%,31%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(31, 100%, 31%) | color: hsl(31, 100%, 31%) | |
| HEX | #9E5200 | color: #9E5200 | |
| RGB | rgb(158, 82, 0) | color: rgb(158, 82, 0) | |
| CMYK | cmyk(0%, 48%, 100%, 38%) | — | |
| HSV | hsv(31, 100%, 62%) | — | |
| HWB | hwb(31 0% 38%) | color: hwb(31 0% 38%) | |
| OKLCH | oklch(0.5206 0.1266 56.52) | color: oklch(0.5206 0.1266 56.52) | |
| Lab | lab(43.22 27.11 52.44) | color: lab(43.22 27.11 52.44) | |
| LCH | lch(43.22 59.03 62.66) | color: lch(43.22 59.03 62.66) |
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)
#7D7C14 — rgb(125, 124, 20)
Deuteranopia (Green-blind)
#828719 — rgb(130, 135, 25)
Tritanopia (Blue-blind)
#9A2427 — rgb(154, 36, 39)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(31, 100%, 31%);
text
color: hsl(31, 100%, 31%);
border
border: 2px solid hsl(31, 100%, 31%);
gradient light
background: linear-gradient(to right, hsl(31, 100%, 51%), hsl(31, 100%, 31%));
gradient dark
background: linear-gradient(to right, hsl(31, 100%, 31%), hsl(31, 100%, 11%))
hex
background-color: #9E5200;
tailwind
bg-[hsl(31,100%,31%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(31, 100%, 31%, 0.4);
css variable
--color-primary: hsl(31, 100%, 31%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(31, 100%, 31%)?
HEX: #9E5200 | RGB: rgb(158, 82, 0) | CMYK: 0%, 48%, 100%, 38% | HSV: 31°, 100%, 62%. Copy any format from the conversion table above.
What colors go well with #9E5200?
The complementary color is HSL(211, 100%, 31%). 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, 100%, 31%) in CSS?
As HSL: color: hsl(31, 100%, 31%); — As HEX: color: #9E5200; — As RGB: color: rgb(158, 82, 0); — Tailwind CSS: bg-[hsl(31,100%,31%)] — CSS variable: --color-primary: hsl(31, 100%, 31%);