HSL(42, 42%, 17%)

Orange — Orange color

Adjust Color

Color Information

Color Name

Orange

Color Family

Orange

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(42, 42%, 17%) color: hsl(42, 42%, 17%)
HEX #3E3319 color: #3E3319
RGB rgb(62, 51, 25) color: rgb(62, 51, 25)
CMYK cmyk(0%, 18%, 60%, 76%)
HSV hsv(42, 60%, 24%)
HWB hwb(42 10% 76%) color: hwb(42 10% 76%)
OKLCH oklch(0.3263 0.0434 87.04) color: oklch(0.3263 0.0434 87.04)
Lab lab(21.81 0.91 18.2) color: lab(21.81 0.91 18.2)
LCH lch(21.81 18.22 87.14) color: lch(21.81 18.22 87.14)

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

#39391F — rgb(57, 57, 31)

Deuteranopia (Green-blind)

#3A3B21 — rgb(58, 59, 33)

Tritanopia (Blue-blind)

#3D2425 — rgb(61, 36, 37)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #3E3319;

tailwind

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

box shadow

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

css variable

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

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

HEX: #3E3319 | RGB: rgb(62, 51, 25) | CMYK: 0%, 18%, 60%, 76% | HSV: 42°, 60%, 24%. Copy any format from the conversion table above.

What colors go well with #3E3319?

The complementary color is HSL(222, 42%, 17%). 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, 42%, 17%) in CSS?

As HSL: color: hsl(42, 42%, 17%); — As HEX: color: #3E3319; — As RGB: color: rgb(62, 51, 25); — Tailwind CSS: bg-[hsl(42,42%,17%)] — CSS variable: --color-primary: hsl(42, 42%, 17%);