HSL(20, 40%, 66%)

Orange — Orange color

Adjust Color

Color Information

Color Name

Orange

Color Family

Orange

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(20, 40%, 66%) color: hsl(20, 40%, 66%)
HEX #CB9D86 color: #CB9D86
RGB rgb(203, 157, 134) color: rgb(203, 157, 134)
CMYK cmyk(0%, 23%, 34%, 20%)
HSV hsv(20, 34%, 80%)
HWB hwb(20 53% 20%) color: hwb(20 53% 20%)
OKLCH oklch(0.7329 0.064 47.83) color: oklch(0.7329 0.064 47.83)
Lab lab(68.41 13.91 18.62) color: lab(68.41 13.91 18.62)
LCH lch(68.41 23.24 53.24) color: lch(68.41 23.24 53.24)

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.41:1
vs Black 8.71: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)

#B7B78C — rgb(183, 183, 140)

Deuteranopia (Green-blind)

#BABD8D — rgb(186, 189, 141)

Tritanopia (Blue-blind)

#C99091 — rgb(201, 144, 145)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

background: linear-gradient(to right, hsl(20, 40%, 86%), hsl(20, 40%, 66%));

gradient dark

background: linear-gradient(to right, hsl(20, 40%, 66%), hsl(20, 40%, 46%))

hex

background-color: #CB9D86;

tailwind

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

box shadow

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

css variable

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

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(20, 40%, 66%)?

HEX: #CB9D86 | RGB: rgb(203, 157, 134) | CMYK: 0%, 23%, 34%, 20% | HSV: 20°, 34%, 80%. Copy any format from the conversion table above.

What colors go well with #CB9D86?

The complementary color is HSL(200, 40%, 66%). For a triadic harmony, use hues 20°, 140°, and 260°. For analogous combinations, try hues 350° and 50°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(20, 40%, 66%) in CSS?

As HSL: color: hsl(20, 40%, 66%); — As HEX: color: #CB9D86; — As RGB: color: rgb(203, 157, 134); — Tailwind CSS: bg-[hsl(20,40%,66%)] — CSS variable: --color-primary: hsl(20, 40%, 66%);