HSL(40, 25%, 56%)

Orange — Orange color

Adjust Color

Color Information

Color Name

Orange

Color Family

Orange

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(40,25%,56%)]

Color Conversions

Format Value CSS Usage
HSL hsl(40, 25%, 56%) color: hsl(40, 25%, 56%)
HEX #AB9873 color: #AB9873
RGB rgb(171, 152, 115) color: rgb(171, 152, 115)
CMYK cmyk(0%, 11%, 33%, 33%)
HSV hsv(40, 33%, 67%)
HWB hwb(40 45% 33%) color: hwb(40 45% 33%)
OKLCH oklch(0.6871 0.0558 83.81) color: oklch(0.6871 0.0558 83.81)
Lab lab(63.63 1.36 22.07) color: lab(63.63 1.36 22.07)
LCH lch(63.63 22.11 86.47) color: lch(63.63 22.11 86.47)

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 2.81:1
vs Black 7.47:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: FAIL ✗ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#A3A37C — rgb(163, 163, 124)

Deuteranopia (Green-blind)

#A4A57E — rgb(164, 165, 126)

Tritanopia (Blue-blind)

#AA8385 — rgb(170, 131, 133)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(40, 25%, 56%);

text

color: hsl(40, 25%, 56%);

border

border: 2px solid hsl(40, 25%, 56%);

gradient light

background: linear-gradient(to right, hsl(40, 25%, 76%), hsl(40, 25%, 56%));

gradient dark

background: linear-gradient(to right, hsl(40, 25%, 56%), hsl(40, 25%, 36%))

hex

background-color: #AB9873;

tailwind

bg-[hsl(40,25%,56%)]

box shadow

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

css variable

--color-primary: hsl(40, 25%, 56%);

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, 25%, 56%)?

HEX: #AB9873 | RGB: rgb(171, 152, 115) | CMYK: 0%, 11%, 33%, 33% | HSV: 40°, 33%, 67%. Copy any format from the conversion table above.

What colors go well with #AB9873?

The complementary color is HSL(220, 25%, 56%). 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, 25%, 56%) in CSS?

As HSL: color: hsl(40, 25%, 56%); — As HEX: color: #AB9873; — As RGB: color: rgb(171, 152, 115); — Tailwind CSS: bg-[hsl(40,25%,56%)] — CSS variable: --color-primary: hsl(40, 25%, 56%);