HSL(31, 45%, 42%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(31,45%,42%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(31, 45%, 42%) | color: hsl(31, 45%, 42%) | |
| HEX | #9B6D3B | color: #9B6D3B | |
| RGB | rgb(155, 109, 59) | color: rgb(155, 109, 59) | |
| CMYK | cmyk(0%, 30%, 62%, 39%) | — | |
| HSV | hsv(31, 62%, 61%) | — | |
| HWB | hwb(31 23% 39%) | color: hwb(31 23% 39%) | |
| OKLCH | oklch(0.5717 0.0886 66.69) | color: oklch(0.5717 0.0886 66.69) | |
| Lab | lab(49.77 12.81 34.77) | color: lab(49.77 12.81 34.77) | |
| LCH | lch(49.77 37.05 69.78) | color: lch(49.77 37.05 69.78) |
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)
#878747 — rgb(135, 135, 71)
Deuteranopia (Green-blind)
#8A8D4A — rgb(138, 141, 74)
Tritanopia (Blue-blind)
#995153 — rgb(153, 81, 83)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(31, 45%, 42%);
text
color: hsl(31, 45%, 42%);
border
border: 2px solid hsl(31, 45%, 42%);
gradient light
background: linear-gradient(to right, hsl(31, 45%, 62%), hsl(31, 45%, 42%));
gradient dark
background: linear-gradient(to right, hsl(31, 45%, 42%), hsl(31, 45%, 22%))
hex
background-color: #9B6D3B;
tailwind
bg-[hsl(31,45%,42%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(31, 45%, 42%, 0.4);
css variable
--color-primary: hsl(31, 45%, 42%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(31, 45%, 42%)?
HEX: #9B6D3B | RGB: rgb(155, 109, 59) | CMYK: 0%, 30%, 62%, 39% | HSV: 31°, 62%, 61%. Copy any format from the conversion table above.
What colors go well with #9B6D3B?
The complementary color is HSL(211, 45%, 42%). 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%, 42%) in CSS?
As HSL: color: hsl(31, 45%, 42%); — As HEX: color: #9B6D3B; — As RGB: color: rgb(155, 109, 59); — Tailwind CSS: bg-[hsl(31,45%,42%)] — CSS variable: --color-primary: hsl(31, 45%, 42%);