HSL(20, 40%, 60%)

Orange — Orange color

Adjust Color

Color Information

Color Name

Orange

Color Family

Orange

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(20, 40%, 60%) color: hsl(20, 40%, 60%)
HEX #C28B70 color: #C28B70
RGB rgb(194, 139, 112) color: rgb(194, 139, 112)
CMYK cmyk(0%, 28%, 42%, 24%)
HSV hsv(20, 42%, 76%)
HWB hwb(20 44% 24%) color: hwb(20 44% 24%)
OKLCH oklch(0.6842 0.0777 47.12) color: oklch(0.6842 0.0777 47.12)
Lab lab(62.6 17.56 22.74) color: lab(62.6 17.56 22.74)
LCH lch(62.6 28.73 52.32) color: lch(62.6 28.73 52.32)

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.91:1
vs Black 7.22: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)

#AAAA77 — rgb(170, 170, 119)

Deuteranopia (Green-blind)

#ADB278 — rgb(173, 178, 120)

Tritanopia (Blue-blind)

#BF7C7D — rgb(191, 124, 125)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

background: linear-gradient(to right, hsl(20, 40%, 80%), hsl(20, 40%, 60%));

gradient dark

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

hex

background-color: #C28B70;

tailwind

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

box shadow

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

css variable

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

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

HEX: #C28B70 | RGB: rgb(194, 139, 112) | CMYK: 0%, 28%, 42%, 24% | HSV: 20°, 42%, 76%. Copy any format from the conversion table above.

What colors go well with #C28B70?

The complementary color is HSL(200, 40%, 60%). 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%, 60%) in CSS?

As HSL: color: hsl(20, 40%, 60%); — As HEX: color: #C28B70; — As RGB: color: rgb(194, 139, 112); — Tailwind CSS: bg-[hsl(20,40%,60%)] — CSS variable: --color-primary: hsl(20, 40%, 60%);