HSL(31, 80%, 20%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(31,80%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(31, 80%, 20%) | color: hsl(31, 80%, 20%) | |
| HEX | #5C340A | color: #5C340A | |
| RGB | rgb(92, 52, 10) | color: rgb(92, 52, 10) | |
| CMYK | cmyk(0%, 43%, 89%, 64%) | — | |
| HSV | hsv(31, 89%, 36%) | — | |
| HWB | hwb(31 4% 64%) | color: hwb(31 4% 64%) | |
| OKLCH | oklch(0.3676 0.078 61.17) | color: oklch(0.3676 0.078 61.17) | |
| Lab | lab(26.02 14.55 31.92) | color: lab(26.02 14.55 31.92) | |
| LCH | lch(26.02 35.08 65.5) | color: lch(26.02 35.08 65.5) |
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)
#4B4A14 — rgb(75, 74, 20)
Deuteranopia (Green-blind)
#4D5017 — rgb(77, 80, 23)
Tritanopia (Blue-blind)
#5A1C1E — rgb(90, 28, 30)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(31, 80%, 20%);
text
color: hsl(31, 80%, 20%);
border
border: 2px solid hsl(31, 80%, 20%);
gradient light
background: linear-gradient(to right, hsl(31, 80%, 40%), hsl(31, 80%, 20%));
gradient dark
background: linear-gradient(to right, hsl(31, 80%, 20%), hsl(31, 80%, 0%))
hex
background-color: #5C340A;
tailwind
bg-[hsl(31,80%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(31, 80%, 20%, 0.4);
css variable
--color-primary: hsl(31, 80%, 20%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(31, 80%, 20%)?
HEX: #5C340A | RGB: rgb(92, 52, 10) | CMYK: 0%, 43%, 89%, 64% | HSV: 31°, 89%, 36%. Copy any format from the conversion table above.
What colors go well with #5C340A?
The complementary color is HSL(211, 80%, 20%). 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, 80%, 20%) in CSS?
As HSL: color: hsl(31, 80%, 20%); — As HEX: color: #5C340A; — As RGB: color: rgb(92, 52, 10); — Tailwind CSS: bg-[hsl(31,80%,20%)] — CSS variable: --color-primary: hsl(31, 80%, 20%);