HSL(17, 54%, 20%)

Orange — Orange color

Adjust Color

Color Information

Color Name

Orange

Color Family

Orange

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(17,54%,20%)]

Color Conversions

Format Value CSS Usage
HSL hsl(17, 54%, 20%) color: hsl(17, 54%, 20%)
HEX #4F2717 color: #4F2717
RGB rgb(79, 39, 23) color: rgb(79, 39, 23)
CMYK cmyk(0%, 51%, 71%, 69%)
HSV hsv(17, 71%, 31%)
HWB hwb(17 9% 69%) color: hwb(17 9% 69%)
OKLCH oklch(0.3231 0.0655 41.97) color: oklch(0.3231 0.0655 41.97)
Lab lab(20.73 17.09 18.74) color: lab(20.73 17.09 18.74)
LCH lch(20.73 25.36 47.64) color: lch(20.73 25.36 47.64)

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 12.84:1
vs Black 1.64: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)

#3E3D1B — rgb(62, 61, 27)

Deuteranopia (Green-blind)

#40431C — rgb(64, 67, 28)

Tritanopia (Blue-blind)

#4D1E1F — rgb(77, 30, 31)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(17, 54%, 20%);

text

color: hsl(17, 54%, 20%);

border

border: 2px solid hsl(17, 54%, 20%);

gradient light

background: linear-gradient(to right, hsl(17, 54%, 40%), hsl(17, 54%, 20%));

gradient dark

background: linear-gradient(to right, hsl(17, 54%, 20%), hsl(17, 54%, 0%))

hex

background-color: #4F2717;

tailwind

bg-[hsl(17,54%,20%)]

box shadow

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

css variable

--color-primary: hsl(17, 54%, 20%);

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(17, 54%, 20%)?

HEX: #4F2717 | RGB: rgb(79, 39, 23) | CMYK: 0%, 51%, 71%, 69% | HSV: 17°, 71%, 31%. Copy any format from the conversion table above.

What colors go well with #4F2717?

The complementary color is HSL(197, 54%, 20%). For a triadic harmony, use hues 17°, 137°, and 257°. For analogous combinations, try hues 347° and 47°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(17, 54%, 20%) in CSS?

As HSL: color: hsl(17, 54%, 20%); — As HEX: color: #4F2717; — As RGB: color: rgb(79, 39, 23); — Tailwind CSS: bg-[hsl(17,54%,20%)] — CSS variable: --color-primary: hsl(17, 54%, 20%);