HSL(31, 80%, 40%)

Orange — Orange color

Adjust Color

Color Information

Color Name

Orange

Color Family

Orange

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(31,80%,40%)]

Color Conversions

Format Value CSS Usage
HSL hsl(31, 80%, 40%) color: hsl(31, 80%, 40%)
HEX #B86914 color: #B86914
RGB rgb(184, 105, 20) color: rgb(184, 105, 20)
CMYK cmyk(0%, 43%, 89%, 28%)
HSV hsv(31, 89%, 72%)
HWB hwb(31 8% 28%) color: hwb(31 8% 28%)
OKLCH oklch(0.5978 0.1337 59.96) color: oklch(0.5978 0.1337 59.96)
Lab lab(52.23 26.05 55.43) color: lab(52.23 26.05 55.43)
LCH lch(52.23 61.25 64.83) color: lch(52.23 61.25 64.83)

Color Theory

Complementary

Triadic

Analogous

Tetradic (Square)

Split-Complementary

Accessibility (WCAG)

White text on color

Black text on color

Color on white bg

Colored text

Contrast Ratios

vs White 4.14:1
vs Black 5.07:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#969529 — rgb(150, 149, 41)

Deuteranopia (Green-blind)

#9AA02E — rgb(154, 160, 46)

Tritanopia (Blue-blind)

#B4393C — rgb(180, 57, 60)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(31, 80%, 40%);

text

color: hsl(31, 80%, 40%);

border

border: 2px solid hsl(31, 80%, 40%);

gradient light

background: linear-gradient(to right, hsl(31, 80%, 60%), hsl(31, 80%, 40%));

gradient dark

background: linear-gradient(to right, hsl(31, 80%, 40%), hsl(31, 80%, 20%))

hex

background-color: #B86914;

tailwind

bg-[hsl(31,80%,40%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(31, 80%, 40%, 0.4);

css variable

--color-primary: hsl(31, 80%, 40%);

Related Colors

Use Cases for Orange

E-commerce CTAs Food & beverage branding Energetic UI elements Sale tags Sunset themes

Frequently Asked Questions

What are all the color codes for HSL(31, 80%, 40%)?

HEX: #B86914 | RGB: rgb(184, 105, 20) | CMYK: 0%, 43%, 89%, 28% | HSV: 31°, 89%, 72%. Copy any format from the conversion table above.

What colors go well with #B86914?

The complementary color is HSL(211, 80%, 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, 80%, 40%) in CSS?

As HSL: color: hsl(31, 80%, 40%); — As HEX: color: #B86914; — As RGB: color: rgb(184, 105, 20); — Tailwind CSS: bg-[hsl(31,80%,40%)] — CSS variable: --color-primary: hsl(31, 80%, 40%);