HSL(40, 32%, 45%)

Orange — Orange color

Adjust Color

Color Information

Color Name

Orange

Color Family

Orange

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(40,32%,45%)]

Color Conversions

Format Value CSS Usage
HSL hsl(40, 32%, 45%) color: hsl(40, 32%, 45%)
HEX #977F4E color: #977F4E
RGB rgb(151, 127, 78) color: rgb(151, 127, 78)
CMYK cmyk(0%, 16%, 48%, 41%)
HSV hsv(40, 48%, 59%)
HWB hwb(40 31% 41%) color: hwb(40 31% 41%)
OKLCH oklch(0.6075 0.0729 84.25) color: oklch(0.6075 0.0729 84.25)
Lab lab(54.35 2.48 29.97) color: lab(54.35 2.48 29.97)
LCH lch(54.35 30.07 85.27) color: lch(54.35 30.07 85.27)

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 3.85:1
vs Black 5.46: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)

#8D8C5A — rgb(141, 140, 90)

Deuteranopia (Green-blind)

#8E905D — rgb(142, 144, 93)

Tritanopia (Blue-blind)

#966365 — rgb(150, 99, 101)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(40, 32%, 45%);

text

color: hsl(40, 32%, 45%);

border

border: 2px solid hsl(40, 32%, 45%);

gradient light

background: linear-gradient(to right, hsl(40, 32%, 65%), hsl(40, 32%, 45%));

gradient dark

background: linear-gradient(to right, hsl(40, 32%, 45%), hsl(40, 32%, 25%))

hex

background-color: #977F4E;

tailwind

bg-[hsl(40,32%,45%)]

box shadow

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

css variable

--color-primary: hsl(40, 32%, 45%);

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(40, 32%, 45%)?

HEX: #977F4E | RGB: rgb(151, 127, 78) | CMYK: 0%, 16%, 48%, 41% | HSV: 40°, 48%, 59%. Copy any format from the conversion table above.

What colors go well with #977F4E?

The complementary color is HSL(220, 32%, 45%). For a triadic harmony, use hues 40°, 160°, and 280°. For analogous combinations, try hues 10° and 70°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(40, 32%, 45%) in CSS?

As HSL: color: hsl(40, 32%, 45%); — As HEX: color: #977F4E; — As RGB: color: rgb(151, 127, 78); — Tailwind CSS: bg-[hsl(40,32%,45%)] — CSS variable: --color-primary: hsl(40, 32%, 45%);