HSL(31, 40%, 56%)
Orange — Orange color
Adjust Color
Color Information
Color Name
Orange
Color Family
Orange
Warm / Cool
🔴 Warm
Temperature
2700K
CSS Class
bg-[hsl(31,40%,56%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(31, 40%, 56%) | color: hsl(31, 40%, 56%) | |
| HEX | #BC9062 | color: #BC9062 | |
| RGB | rgb(188, 144, 98) | color: rgb(188, 144, 98) | |
| CMYK | cmyk(0%, 23%, 48%, 26%) | — | |
| HSV | hsv(31, 48%, 74%) | — | |
| HWB | hwb(31 38% 26%) | color: hwb(31 38% 26%) | |
| OKLCH | oklch(0.6846 0.0816 67) | color: oklch(0.6846 0.0816 67) | |
| Lab | lab(62.95 10.85 30.79) | color: lab(62.95 10.85 30.79) | |
| LCH | lch(62.95 32.65 70.59) | color: lch(62.95 32.65 70.59) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#A9A96D — rgb(169, 169, 109)
Deuteranopia (Green-blind)
#ACAF70 — rgb(172, 175, 112)
Tritanopia (Blue-blind)
#BA7678 — rgb(186, 118, 120)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(31, 40%, 56%);
text
color: hsl(31, 40%, 56%);
border
border: 2px solid hsl(31, 40%, 56%);
gradient light
background: linear-gradient(to right, hsl(31, 40%, 76%), hsl(31, 40%, 56%));
gradient dark
background: linear-gradient(to right, hsl(31, 40%, 56%), hsl(31, 40%, 36%))
hex
background-color: #BC9062;
tailwind
bg-[hsl(31,40%,56%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(31, 40%, 56%, 0.4);
css variable
--color-primary: hsl(31, 40%, 56%);
Related Colors
Use Cases for Orange
Frequently Asked Questions
What are all the color codes for HSL(31, 40%, 56%)?
HEX: #BC9062 | RGB: rgb(188, 144, 98) | CMYK: 0%, 23%, 48%, 26% | HSV: 31°, 48%, 74%. Copy any format from the conversion table above.
What colors go well with #BC9062?
The complementary color is HSL(211, 40%, 56%). 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, 40%, 56%) in CSS?
As HSL: color: hsl(31, 40%, 56%); — As HEX: color: #BC9062; — As RGB: color: rgb(188, 144, 98); — Tailwind CSS: bg-[hsl(31,40%,56%)] — CSS variable: --color-primary: hsl(31, 40%, 56%);