HSL(42, 17%, 21%)

Orange — Orange color

Adjust Color

Color Information

Color Name

Orange

Color Family

Orange

Warm / Cool

🔴 Warm

Temperature

N/A

CSS Class

bg-[hsl(42,17%,21%)]

Color Conversions

Format Value CSS Usage
HSL hsl(42, 17%, 21%) color: hsl(42, 17%, 21%)
HEX #3F392C color: #3F392C
RGB rgb(63, 57, 44) color: rgb(63, 57, 44)
CMYK cmyk(0%, 10%, 30%, 75%)
HSV hsv(41, 30%, 25%)
HWB hwb(41 18% 75%) color: hwb(41 18% 75%)
OKLCH oklch(0.3467 0.0231 86.12) color: oklch(0.3467 0.0231 86.12)
Lab lab(24.21 0.13 9.07) color: lab(24.21 0.13 9.07)
LCH lch(24.21 9.07 89.18) color: lch(24.21 9.07 89.18)

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 11.46:1
vs Black 1.83: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)

#3C3C2F — rgb(60, 60, 47)

Deuteranopia (Green-blind)

#3D3D30 — rgb(61, 61, 48)

Tritanopia (Blue-blind)

#3F3232 — rgb(63, 50, 50)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(42, 17%, 21%);

text

color: hsl(42, 17%, 21%);

border

border: 2px solid hsl(42, 17%, 21%);

gradient light

background: linear-gradient(to right, hsl(42, 17%, 41%), hsl(42, 17%, 21%));

gradient dark

background: linear-gradient(to right, hsl(42, 17%, 21%), hsl(42, 17%, 1%))

hex

background-color: #3F392C;

tailwind

bg-[hsl(42,17%,21%)]

box shadow

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

css variable

--color-primary: hsl(42, 17%, 21%);

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(42, 17%, 21%)?

HEX: #3F392C | RGB: rgb(63, 57, 44) | CMYK: 0%, 10%, 30%, 75% | HSV: 41°, 30%, 25%. Copy any format from the conversion table above.

What colors go well with #3F392C?

The complementary color is HSL(222, 17%, 21%). For a triadic harmony, use hues 42°, 162°, and 282°. For analogous combinations, try hues 12° and 72°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(42, 17%, 21%) in CSS?

As HSL: color: hsl(42, 17%, 21%); — As HEX: color: #3F392C; — As RGB: color: rgb(63, 57, 44); — Tailwind CSS: bg-[hsl(42,17%,21%)] — CSS variable: --color-primary: hsl(42, 17%, 21%);