HSL(15, 40%, 23%)

Orange — Orange color

Adjust Color

Color Information

Color Name

Orange

Color Family

Orange

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(15,40%,23%)]

Color Conversions

Format Value CSS Usage
HSL hsl(15, 40%, 23%) color: hsl(15, 40%, 23%)
HEX #522F23 color: #522F23
RGB rgb(82, 47, 35) color: rgb(82, 47, 35)
CMYK cmyk(0%, 43%, 57%, 68%)
HSV hsv(15, 57%, 32%)
HWB hwb(15 14% 68%) color: hwb(15 14% 68%)
OKLCH oklch(0.346 0.0555 39.64) color: oklch(0.346 0.0555 39.64)
Lab lab(23.5 14.55 14.48) color: lab(23.5 14.55 14.48)
LCH lch(23.5 20.53 44.86) color: lch(23.5 20.53 44.86)

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.73:1
vs Black 1.79: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)

#434326 — rgb(67, 67, 38)

Deuteranopia (Green-blind)

#454827 — rgb(69, 72, 39)

Tritanopia (Blue-blind)

#502829 — rgb(80, 40, 41)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(15, 40%, 23%);

text

color: hsl(15, 40%, 23%);

border

border: 2px solid hsl(15, 40%, 23%);

gradient light

background: linear-gradient(to right, hsl(15, 40%, 43%), hsl(15, 40%, 23%));

gradient dark

background: linear-gradient(to right, hsl(15, 40%, 23%), hsl(15, 40%, 3%))

hex

background-color: #522F23;

tailwind

bg-[hsl(15,40%,23%)]

box shadow

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

css variable

--color-primary: hsl(15, 40%, 23%);

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(15, 40%, 23%)?

HEX: #522F23 | RGB: rgb(82, 47, 35) | CMYK: 0%, 43%, 57%, 68% | HSV: 15°, 57%, 32%. Copy any format from the conversion table above.

What colors go well with #522F23?

The complementary color is HSL(195, 40%, 23%). For a triadic harmony, use hues 15°, 135°, and 255°. For analogous combinations, try hues 345° and 45°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(15, 40%, 23%) in CSS?

As HSL: color: hsl(15, 40%, 23%); — As HEX: color: #522F23; — As RGB: color: rgb(82, 47, 35); — Tailwind CSS: bg-[hsl(15,40%,23%)] — CSS variable: --color-primary: hsl(15, 40%, 23%);