HSL(21, 64%, 18%)

Orange — Orange color

Adjust Color

Color Information

Color Name

Orange

Color Family

Orange

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(21,64%,18%)]

Color Conversions

Format Value CSS Usage
HSL hsl(21, 64%, 18%) color: hsl(21, 64%, 18%)
HEX #4B2511 color: #4B2511
RGB rgb(75, 37, 17) color: rgb(75, 37, 17)
CMYK cmyk(0%, 51%, 77%, 71%)
HSV hsv(21, 77%, 29%)
HWB hwb(21 7% 71%) color: hwb(21 7% 71%)
OKLCH oklch(0.3118 0.0652 46.8) color: oklch(0.3118 0.0652 46.8)
Lab lab(19.47 16.01 20.86) color: lab(19.47 16.01 20.86)
LCH lch(19.47 26.3 52.49) color: lch(19.47 26.3 52.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.36:1
vs Black 1.57: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)

#3B3A16 — rgb(59, 58, 22)

Deuteranopia (Green-blind)

#3D4017 — rgb(61, 64, 23)

Tritanopia (Blue-blind)

#491A1B — rgb(73, 26, 27)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(21, 64%, 18%);

text

color: hsl(21, 64%, 18%);

border

border: 2px solid hsl(21, 64%, 18%);

gradient light

background: linear-gradient(to right, hsl(21, 64%, 38%), hsl(21, 64%, 18%));

gradient dark

background: linear-gradient(to right, hsl(21, 64%, 18%), hsl(21, 64%, 0%))

hex

background-color: #4B2511;

tailwind

bg-[hsl(21,64%,18%)]

box shadow

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

css variable

--color-primary: hsl(21, 64%, 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(21, 64%, 18%)?

HEX: #4B2511 | RGB: rgb(75, 37, 17) | CMYK: 0%, 51%, 77%, 71% | HSV: 21°, 77%, 29%. Copy any format from the conversion table above.

What colors go well with #4B2511?

The complementary color is HSL(201, 64%, 18%). For a triadic harmony, use hues 21°, 141°, and 261°. For analogous combinations, try hues 351° and 51°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(21, 64%, 18%) in CSS?

As HSL: color: hsl(21, 64%, 18%); — As HEX: color: #4B2511; — As RGB: color: rgb(75, 37, 17); — Tailwind CSS: bg-[hsl(21,64%,18%)] — CSS variable: --color-primary: hsl(21, 64%, 18%);