HSL(31, 70%, 30%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(31,70%,30%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(31, 70%, 30%) | color: hsl(31, 70%, 30%) | |
| HEX | #824E17 | color: #824E17 | |
| RGB | rgb(130, 78, 23) | color: rgb(130, 78, 23) | |
| CMYK | cmyk(0%, 40%, 82%, 49%) | — | |
| HSV | hsv(31, 82%, 51%) | — | |
| HWB | hwb(31 9% 49%) | color: hwb(31 9% 49%) | |
| OKLCH | oklch(0.4745 0.0968 62.29) | color: oklch(0.4745 0.0968 62.29) | |
| Lab | lab(38.3 17.37 39.53) | color: lab(38.3 17.37 39.53) | |
| LCH | lch(38.3 43.18 66.28) | color: lch(38.3 43.18 66.28) |
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)
#6B6B24 — rgb(107, 107, 36)
Deuteranopia (Green-blind)
#6F7228 — rgb(111, 114, 40)
Tritanopia (Blue-blind)
#7F2F31 — rgb(127, 47, 49)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(31, 70%, 30%);
text
color: hsl(31, 70%, 30%);
border
border: 2px solid hsl(31, 70%, 30%);
gradient light
background: linear-gradient(to right, hsl(31, 70%, 50%), hsl(31, 70%, 30%));
gradient dark
background: linear-gradient(to right, hsl(31, 70%, 30%), hsl(31, 70%, 10%))
hex
background-color: #824E17;
tailwind
bg-[hsl(31,70%,30%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(31, 70%, 30%, 0.4);
css variable
--color-primary: hsl(31, 70%, 30%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(31, 70%, 30%)?
HEX: #824E17 | RGB: rgb(130, 78, 23) | CMYK: 0%, 40%, 82%, 49% | HSV: 31°, 82%, 51%. Copy any format from the conversion table above.
What colors go well with #824E17?
The complementary color is HSL(211, 70%, 30%). 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, 70%, 30%) in CSS?
As HSL: color: hsl(31, 70%, 30%); — As HEX: color: #824E17; — As RGB: color: rgb(130, 78, 23); — Tailwind CSS: bg-[hsl(31,70%,30%)] — CSS variable: --color-primary: hsl(31, 70%, 30%);