HSL(18, 20%, 40%)

Orange — Orange color

Adjust Color

Color Information

Color Name

Orange

Color Family

Orange

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(18, 20%, 40%) color: hsl(18, 20%, 40%)
HEX #7A5E52 color: #7A5E52
RGB rgb(122, 94, 82) color: rgb(122, 94, 82)
CMYK cmyk(0%, 23%, 33%, 52%)
HSV hsv(18, 33%, 48%)
HWB hwb(18 32% 52%) color: hwb(18 32% 52%)
OKLCH oklch(0.5069 0.0413 44.33) color: oklch(0.5069 0.0413 44.33)
Lab lab(42.39 9.54 11.26) color: lab(42.39 9.54 11.26)
LCH lch(42.39 14.76 49.73) color: lch(42.39 14.76 49.73)

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 5.91:1
vs Black 3.55:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#6E6E55 — rgb(110, 110, 85)

Deuteranopia (Green-blind)

#707256 — rgb(112, 114, 86)

Tritanopia (Blue-blind)

#795758 — rgb(121, 87, 88)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

background: linear-gradient(to right, hsl(18, 20%, 60%), hsl(18, 20%, 40%));

gradient dark

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

hex

background-color: #7A5E52;

tailwind

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

box shadow

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

css variable

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

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

HEX: #7A5E52 | RGB: rgb(122, 94, 82) | CMYK: 0%, 23%, 33%, 52% | HSV: 18°, 33%, 48%. Copy any format from the conversion table above.

What colors go well with #7A5E52?

The complementary color is HSL(198, 20%, 40%). For a triadic harmony, use hues 18°, 138°, and 258°. For analogous combinations, try hues 348° and 48°. See the Color Harmony section above for complete palettes with previews.

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

As HSL: color: hsl(18, 20%, 40%); — As HEX: color: #7A5E52; — As RGB: color: rgb(122, 94, 82); — Tailwind CSS: bg-[hsl(18,20%,40%)] — CSS variable: --color-primary: hsl(18, 20%, 40%);