HSL(22, 42%, 20%)

Orange — Orange color

Adjust Color

Color Information

Color Name

Orange

Color Family

Orange

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(22,42%,20%)]

Color Conversions

Format Value CSS Usage
HSL hsl(22, 42%, 20%) color: hsl(22, 42%, 20%)
HEX #482D1E color: #482D1E
RGB rgb(72, 45, 30) color: rgb(72, 45, 30)
CMYK cmyk(0%, 38%, 58%, 72%)
HSV hsv(21, 58%, 28%)
HWB hwb(21 12% 72%) color: hwb(21 12% 72%)
OKLCH oklch(0.3262 0.0471 49.56) color: oklch(0.3262 0.0471 49.56)
Lab lab(21.39 10.49 14.75) color: lab(21.39 10.49 14.75)
LCH lch(21.39 18.1 54.58) color: lch(21.39 18.1 54.58)

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.58:1
vs Black 1.67: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)

#3C3C22 — rgb(60, 60, 34)

Deuteranopia (Green-blind)

#3E4023 — rgb(62, 64, 35)

Tritanopia (Blue-blind)

#472425 — rgb(71, 36, 37)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(22, 42%, 20%);

text

color: hsl(22, 42%, 20%);

border

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

gradient light

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

gradient dark

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

hex

background-color: #482D1E;

tailwind

bg-[hsl(22,42%,20%)]

box shadow

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

css variable

--color-primary: hsl(22, 42%, 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(22, 42%, 20%)?

HEX: #482D1E | RGB: rgb(72, 45, 30) | CMYK: 0%, 38%, 58%, 72% | HSV: 21°, 58%, 28%. Copy any format from the conversion table above.

What colors go well with #482D1E?

The complementary color is HSL(202, 42%, 20%). For a triadic harmony, use hues 22°, 142°, and 262°. For analogous combinations, try hues 352° and 52°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(22, 42%, 20%) in CSS?

As HSL: color: hsl(22, 42%, 20%); — As HEX: color: #482D1E; — As RGB: color: rgb(72, 45, 30); — Tailwind CSS: bg-[hsl(22,42%,20%)] — CSS variable: --color-primary: hsl(22, 42%, 20%);