HSL(31, 73%, 35%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(31,73%,35%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(31, 73%, 35%) | color: hsl(31, 73%, 35%) | |
| HEX | #9A5B18 | color: #9A5B18 | |
| RGB | rgb(154, 91, 24) | color: rgb(154, 91, 24) | |
| CMYK | cmyk(0%, 41%, 84%, 40%) | — | |
| HSV | hsv(31, 84%, 60%) | — | |
| HWB | hwb(31 10% 40%) | color: hwb(31 10% 40%) | |
| OKLCH | oklch(0.5321 0.1125 61.52) | color: oklch(0.5321 0.1125 61.52) | |
| Lab | lab(44.83 20.8 46.27) | color: lab(44.83 20.8 46.27) | |
| LCH | lch(44.83 50.73 65.79) | color: lch(44.83 50.73 65.79) |
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)
#7F7E28 — rgb(127, 126, 40)
Deuteranopia (Green-blind)
#82872C — rgb(130, 135, 44)
Tritanopia (Blue-blind)
#973538 — rgb(151, 53, 56)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(31, 73%, 35%);
text
color: hsl(31, 73%, 35%);
border
border: 2px solid hsl(31, 73%, 35%);
gradient light
background: linear-gradient(to right, hsl(31, 73%, 55%), hsl(31, 73%, 35%));
gradient dark
background: linear-gradient(to right, hsl(31, 73%, 35%), hsl(31, 73%, 15%))
hex
background-color: #9A5B18;
tailwind
bg-[hsl(31,73%,35%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(31, 73%, 35%, 0.4);
css variable
--color-primary: hsl(31, 73%, 35%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(31, 73%, 35%)?
HEX: #9A5B18 | RGB: rgb(154, 91, 24) | CMYK: 0%, 41%, 84%, 40% | HSV: 31°, 84%, 60%. Copy any format from the conversion table above.
What colors go well with #9A5B18?
The complementary color is HSL(211, 73%, 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, 73%, 35%) in CSS?
As HSL: color: hsl(31, 73%, 35%); — As HEX: color: #9A5B18; — As RGB: color: rgb(154, 91, 24); — Tailwind CSS: bg-[hsl(31,73%,35%)] — CSS variable: --color-primary: hsl(31, 73%, 35%);