HSL(29, 40%, 18%)

Orange — Orange color

Adjust Color

Color Information

Color Name

Orange

Color Family

Orange

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(29,40%,18%)]

Color Conversions

Format Value CSS Usage
HSL hsl(29, 40%, 18%) color: hsl(29, 40%, 18%)
HEX #402D1C color: #402D1C
RGB rgb(64, 45, 28) color: rgb(64, 45, 28)
CMYK cmyk(0%, 30%, 56%, 75%)
HSV hsv(28, 56%, 25%)
HWB hwb(28 11% 75%) color: hwb(28 11% 75%)
OKLCH oklch(0.3148 0.0395 62.44) color: oklch(0.3148 0.0395 62.44)
Lab lab(20.25 6.26 14.39) color: lab(20.25 6.26 14.39)
LCH lch(20.25 15.69 66.49) color: lch(20.25 15.69 66.49)

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 13.04:1
vs Black 1.61: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)

#383820 — rgb(56, 56, 32)

Deuteranopia (Green-blind)

#393A21 — rgb(57, 58, 33)

Tritanopia (Blue-blind)

#3F2324 — rgb(63, 35, 36)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(29, 40%, 18%);

text

color: hsl(29, 40%, 18%);

border

border: 2px solid hsl(29, 40%, 18%);

gradient light

background: linear-gradient(to right, hsl(29, 40%, 38%), hsl(29, 40%, 18%));

gradient dark

background: linear-gradient(to right, hsl(29, 40%, 18%), hsl(29, 40%, 0%))

hex

background-color: #402D1C;

tailwind

bg-[hsl(29,40%,18%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(29, 40%, 18%, 0.4);

css variable

--color-primary: hsl(29, 40%, 18%);

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(29, 40%, 18%)?

HEX: #402D1C | RGB: rgb(64, 45, 28) | CMYK: 0%, 30%, 56%, 75% | HSV: 28°, 56%, 25%. Copy any format from the conversion table above.

What colors go well with #402D1C?

The complementary color is HSL(209, 40%, 18%). For a triadic harmony, use hues 29°, 149°, and 269°. For analogous combinations, try hues 359° and 59°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(29, 40%, 18%) in CSS?

As HSL: color: hsl(29, 40%, 18%); — As HEX: color: #402D1C; — As RGB: color: rgb(64, 45, 28); — Tailwind CSS: bg-[hsl(29,40%,18%)] — CSS variable: --color-primary: hsl(29, 40%, 18%);