HSL(20, 30%, 20%)

Orange — Orange color

Adjust Color

Color Information

Color Name

Orange

Color Family

Orange

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(20,30%,20%)]

Color Conversions

Format Value CSS Usage
HSL hsl(20, 30%, 20%) color: hsl(20, 30%, 20%)
HEX #422E24 color: #422E24
RGB rgb(66, 46, 36) color: rgb(66, 46, 36)
CMYK cmyk(0%, 30%, 45%, 74%)
HSV hsv(20, 45%, 26%)
HWB hwb(20 14% 74%) color: hwb(20 14% 74%)
OKLCH oklch(0.3217 0.0342 47.63) color: oklch(0.3217 0.0342 47.63)
Lab lab(20.98 7.62 10.06) color: lab(20.98 7.62 10.06)
LCH lch(20.98 12.62 52.86) color: lch(20.98 12.62 52.86)

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 12.74:1
vs Black 1.65:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: FAIL ✗

AAA Normal (7:1)

on White: PASS ✓

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#393926 — rgb(57, 57, 38)

Deuteranopia (Green-blind)

#3B3C27 — rgb(59, 60, 39)

Tritanopia (Blue-blind)

#412829 — rgb(65, 40, 41)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(20, 30%, 20%);

text

color: hsl(20, 30%, 20%);

border

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

gradient light

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

gradient dark

background: linear-gradient(to right, hsl(20, 30%, 20%), hsl(20, 30%, 0%))

hex

background-color: #422E24;

tailwind

bg-[hsl(20,30%,20%)]

box shadow

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

css variable

--color-primary: hsl(20, 30%, 20%);

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

HEX: #422E24 | RGB: rgb(66, 46, 36) | CMYK: 0%, 30%, 45%, 74% | HSV: 20°, 45%, 26%. Copy any format from the conversion table above.

What colors go well with #422E24?

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

As HSL: color: hsl(20, 30%, 20%); — As HEX: color: #422E24; — As RGB: color: rgb(66, 46, 36); — Tailwind CSS: bg-[hsl(20,30%,20%)] — CSS variable: --color-primary: hsl(20, 30%, 20%);