HSL(31, 30%, 40%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(31,30%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(31, 30%, 40%) | color: hsl(31, 30%, 40%) | |
| HEX | #856747 | color: #856747 | |
| RGB | rgb(133, 103, 71) | color: rgb(133, 103, 71) | |
| CMYK | cmyk(0%, 23%, 47%, 48%) | — | |
| HSV | hsv(31, 47%, 52%) | — | |
| HWB | hwb(31 28% 48%) | color: hwb(31 28% 48%) | |
| OKLCH | oklch(0.5359 0.0601 67.78) | color: oklch(0.5359 0.0601 67.78) | |
| Lab | lab(45.83 7.61 22.63) | color: lab(45.83 7.61 22.63) | |
| LCH | lch(45.83 23.88 71.41) | color: lch(45.83 23.88 71.41) |
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)
#78784F — rgb(120, 120, 79)
Deuteranopia (Green-blind)
#7A7C51 — rgb(122, 124, 81)
Tritanopia (Blue-blind)
#845556 — rgb(132, 85, 86)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(31, 30%, 40%);
text
color: hsl(31, 30%, 40%);
border
border: 2px solid hsl(31, 30%, 40%);
gradient light
background: linear-gradient(to right, hsl(31, 30%, 60%), hsl(31, 30%, 40%));
gradient dark
background: linear-gradient(to right, hsl(31, 30%, 40%), hsl(31, 30%, 20%))
hex
background-color: #856747;
tailwind
bg-[hsl(31,30%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(31, 30%, 40%, 0.4);
css variable
--color-primary: hsl(31, 30%, 40%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(31, 30%, 40%)?
HEX: #856747 | RGB: rgb(133, 103, 71) | CMYK: 0%, 23%, 47%, 48% | HSV: 31°, 47%, 52%. Copy any format from the conversion table above.
What colors go well with #856747?
The complementary color is HSL(211, 30%, 40%). 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, 30%, 40%) in CSS?
As HSL: color: hsl(31, 30%, 40%); — As HEX: color: #856747; — As RGB: color: rgb(133, 103, 71); — Tailwind CSS: bg-[hsl(31,30%,40%)] — CSS variable: --color-primary: hsl(31, 30%, 40%);