HSL(40, 20%, 58%)

Orange — Orange color

Adjust Color

Color Information

Color Name

Orange

Color Family

Orange

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(40,20%,58%)]

Color Conversions

Format Value CSS Usage
HSL hsl(40, 20%, 58%) color: hsl(40, 20%, 58%)
HEX #A99B7E color: #A99B7E
RGB rgb(169, 155, 126) color: rgb(169, 155, 126)
CMYK cmyk(0%, 8%, 25%, 34%)
HSV hsv(40, 25%, 66%)
HWB hwb(40 50% 34%) color: hwb(40 50% 34%)
OKLCH oklch(0.6939 0.0438 85.23) color: oklch(0.6939 0.0438 85.23)
Lab lab(64.47 0.43 17.1) color: lab(64.47 0.43 17.1)
LCH lch(64.47 17.11 88.56) color: lch(64.47 17.11 88.56)

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.74:1
vs Black 7.68: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)

#A3A385 — rgb(163, 163, 133)

Deuteranopia (Green-blind)

#A4A587 — rgb(164, 165, 135)

Tritanopia (Blue-blind)

#A88B8C — rgb(168, 139, 140)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(40, 20%, 58%);

text

color: hsl(40, 20%, 58%);

border

border: 2px solid hsl(40, 20%, 58%);

gradient light

background: linear-gradient(to right, hsl(40, 20%, 78%), hsl(40, 20%, 58%));

gradient dark

background: linear-gradient(to right, hsl(40, 20%, 58%), hsl(40, 20%, 38%))

hex

background-color: #A99B7E;

tailwind

bg-[hsl(40,20%,58%)]

box shadow

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

css variable

--color-primary: hsl(40, 20%, 58%);

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, 20%, 58%)?

HEX: #A99B7E | RGB: rgb(169, 155, 126) | CMYK: 0%, 8%, 25%, 34% | HSV: 40°, 25%, 66%. Copy any format from the conversion table above.

What colors go well with #A99B7E?

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

As HSL: color: hsl(40, 20%, 58%); — As HEX: color: #A99B7E; — As RGB: color: rgb(169, 155, 126); — Tailwind CSS: bg-[hsl(40,20%,58%)] — CSS variable: --color-primary: hsl(40, 20%, 58%);