HSL(31, 25%, 42%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(31,25%,42%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(31, 25%, 42%) | color: hsl(31, 25%, 42%) | |
| HEX | #866C50 | color: #866C50 | |
| RGB | rgb(134, 108, 80) | color: rgb(134, 108, 80) | |
| CMYK | cmyk(0%, 19%, 40%, 47%) | — | |
| HSV | hsv(31, 40%, 53%) | — | |
| HWB | hwb(31 32% 47%) | color: hwb(31 32% 47%) | |
| OKLCH | oklch(0.5494 0.0525 68.46) | color: oklch(0.5494 0.0525 68.46) | |
| Lab | lab(47.46 6.19 19.57) | color: lab(47.46 6.19 19.57) | |
| LCH | lch(47.46 20.53 72.45) | color: lch(47.46 20.53 72.45) |
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)
#7B7B57 — rgb(123, 123, 87)
Deuteranopia (Green-blind)
#7C7E58 — rgb(124, 126, 88)
Tritanopia (Blue-blind)
#855C5D — rgb(133, 92, 93)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(31, 25%, 42%);
text
color: hsl(31, 25%, 42%);
border
border: 2px solid hsl(31, 25%, 42%);
gradient light
background: linear-gradient(to right, hsl(31, 25%, 62%), hsl(31, 25%, 42%));
gradient dark
background: linear-gradient(to right, hsl(31, 25%, 42%), hsl(31, 25%, 22%))
hex
background-color: #866C50;
tailwind
bg-[hsl(31,25%,42%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(31, 25%, 42%, 0.4);
css variable
--color-primary: hsl(31, 25%, 42%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(31, 25%, 42%)?
HEX: #866C50 | RGB: rgb(134, 108, 80) | CMYK: 0%, 19%, 40%, 47% | HSV: 31°, 40%, 53%. Copy any format from the conversion table above.
What colors go well with #866C50?
The complementary color is HSL(211, 25%, 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, 25%, 42%) in CSS?
As HSL: color: hsl(31, 25%, 42%); — As HEX: color: #866C50; — As RGB: color: rgb(134, 108, 80); — Tailwind CSS: bg-[hsl(31,25%,42%)] — CSS variable: --color-primary: hsl(31, 25%, 42%);