HSL(31, 76%, 35%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(31,76%,35%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(31, 76%, 35%) | color: hsl(31, 76%, 35%) | |
| HEX | #9D5C15 | color: #9D5C15 | |
| RGB | rgb(157, 92, 21) | color: rgb(157, 92, 21) | |
| CMYK | cmyk(0%, 41%, 87%, 38%) | — | |
| HSV | hsv(31, 87%, 62%) | — | |
| HWB | hwb(31 8% 38%) | color: hwb(31 8% 38%) | |
| OKLCH | oklch(0.5378 0.1158 61.57) | color: oklch(0.5378 0.1158 61.57) | |
| Lab | lab(45.47 21.49 48.09) | color: lab(45.47 21.49 48.09) | |
| LCH | lch(45.47 52.67 65.92) | color: lch(45.47 52.67 65.92) |
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)
#818026 — rgb(129, 128, 38)
Deuteranopia (Green-blind)
#858A2A — rgb(133, 138, 42)
Tritanopia (Blue-blind)
#9A3437 — rgb(154, 52, 55)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(31, 76%, 35%);
text
color: hsl(31, 76%, 35%);
border
border: 2px solid hsl(31, 76%, 35%);
gradient light
background: linear-gradient(to right, hsl(31, 76%, 55%), hsl(31, 76%, 35%));
gradient dark
background: linear-gradient(to right, hsl(31, 76%, 35%), hsl(31, 76%, 15%))
hex
background-color: #9D5C15;
tailwind
bg-[hsl(31,76%,35%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(31, 76%, 35%, 0.4);
css variable
--color-primary: hsl(31, 76%, 35%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(31, 76%, 35%)?
HEX: #9D5C15 | RGB: rgb(157, 92, 21) | CMYK: 0%, 41%, 87%, 38% | HSV: 31°, 87%, 62%. Copy any format from the conversion table above.
What colors go well with #9D5C15?
The complementary color is HSL(211, 76%, 35%). 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, 76%, 35%) in CSS?
As HSL: color: hsl(31, 76%, 35%); — As HEX: color: #9D5C15; — As RGB: color: rgb(157, 92, 21); — Tailwind CSS: bg-[hsl(31,76%,35%)] — CSS variable: --color-primary: hsl(31, 76%, 35%);