HSL(31, 85%, 32%)

Orange — Orange color

Adjust Color

Color Information

Color Name

Orange

Color Family

Orange

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(31,85%,32%)]

Color Conversions

Format Value CSS Usage
HSL hsl(31, 85%, 32%) color: hsl(31, 85%, 32%)
HEX #97540C color: #97540C
RGB rgb(151, 84, 12) color: rgb(151, 84, 12)
CMYK cmyk(0%, 44%, 92%, 41%)
HSV hsv(31, 92%, 59%)
HWB hwb(31 5% 41%) color: hwb(31 5% 41%)
OKLCH oklch(0.5144 0.1167 59.38) color: oklch(0.5144 0.1167 59.38)
Lab lab(42.69 23.13 48.37) color: lab(42.69 23.13 48.37)
LCH lch(42.69 53.62 64.44) color: lch(42.69 53.62 64.44)

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 5.85:1
vs Black 3.59:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#7A791D — rgb(122, 121, 29)

Deuteranopia (Green-blind)

#7E8322 — rgb(126, 131, 34)

Tritanopia (Blue-blind)

#942B2E — rgb(148, 43, 46)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(31, 85%, 32%);

text

color: hsl(31, 85%, 32%);

border

border: 2px solid hsl(31, 85%, 32%);

gradient light

background: linear-gradient(to right, hsl(31, 85%, 52%), hsl(31, 85%, 32%));

gradient dark

background: linear-gradient(to right, hsl(31, 85%, 32%), hsl(31, 85%, 12%))

hex

background-color: #97540C;

tailwind

bg-[hsl(31,85%,32%)]

box shadow

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

css variable

--color-primary: hsl(31, 85%, 32%);

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, 85%, 32%)?

HEX: #97540C | RGB: rgb(151, 84, 12) | CMYK: 0%, 44%, 92%, 41% | HSV: 31°, 92%, 59%. Copy any format from the conversion table above.

What colors go well with #97540C?

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

As HSL: color: hsl(31, 85%, 32%); — As HEX: color: #97540C; — As RGB: color: rgb(151, 84, 12); — Tailwind CSS: bg-[hsl(31,85%,32%)] — CSS variable: --color-primary: hsl(31, 85%, 32%);