HSL(42, 19%, 15%)

Orange — Orange color

Adjust Color

Color Information

Color Name

Orange

Color Family

Orange

Warm / Cool

🔴 Warm

Temperature

N/A

CSS Class

bg-[hsl(42,19%,15%)]

Color Conversions

Format Value CSS Usage
HSL hsl(42, 19%, 15%) color: hsl(42, 19%, 15%)
HEX #2E291F color: #2E291F
RGB rgb(46, 41, 31) color: rgb(46, 41, 31)
CMYK cmyk(0%, 11%, 33%, 82%)
HSV hsv(40, 33%, 18%)
HWB hwb(40 12% 82%) color: hwb(40 12% 82%)
OKLCH oklch(0.2831 0.0189 84.49) color: oklch(0.2831 0.0189 84.49)
Lab lab(16.82 0.3 7.41) color: lab(16.82 0.3 7.41)
LCH lch(16.82 7.42 87.68) color: lch(16.82 7.42 87.68)

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 14.45:1
vs Black 1.45: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)

#2C2C21 — rgb(44, 44, 33)

Deuteranopia (Green-blind)

#2C2D22 — rgb(44, 45, 34)

Tritanopia (Blue-blind)

#2E2324 — rgb(46, 35, 36)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(42, 19%, 15%);

text

color: hsl(42, 19%, 15%);

border

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

gradient light

background: linear-gradient(to right, hsl(42, 19%, 35%), hsl(42, 19%, 15%));

gradient dark

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

hex

background-color: #2E291F;

tailwind

bg-[hsl(42,19%,15%)]

box shadow

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

css variable

--color-primary: hsl(42, 19%, 15%);

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

HEX: #2E291F | RGB: rgb(46, 41, 31) | CMYK: 0%, 11%, 33%, 82% | HSV: 40°, 33%, 18%. Copy any format from the conversion table above.

What colors go well with #2E291F?

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

As HSL: color: hsl(42, 19%, 15%); — As HEX: color: #2E291F; — As RGB: color: rgb(46, 41, 31); — Tailwind CSS: bg-[hsl(42,19%,15%)] — CSS variable: --color-primary: hsl(42, 19%, 15%);