HSL(27, 54%, 20%)

Orange — Orange color

Adjust Color

Color Information

Color Name

Orange

Color Family

Orange

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(27, 54%, 20%) color: hsl(27, 54%, 20%)
HEX #4F3017 color: #4F3017
RGB rgb(79, 48, 23) color: rgb(79, 48, 23)
CMYK cmyk(0%, 39%, 71%, 69%)
HSV hsv(27, 71%, 31%)
HWB hwb(27 9% 69%) color: hwb(27 9% 69%)
OKLCH oklch(0.3415 0.059 57.86) color: oklch(0.3415 0.059 57.86)
Lab lab(23.13 11.36 21.55) color: lab(23.13 11.36 21.55)
LCH lch(23.13 24.36 62.2) color: lch(23.13 24.36 62.2)

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.88:1
vs Black 1.77: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)

#42411D — rgb(66, 65, 29)

Deuteranopia (Green-blind)

#43461F — rgb(67, 70, 31)

Tritanopia (Blue-blind)

#4D2223 — rgb(77, 34, 35)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #4F3017;

tailwind

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

box shadow

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

css variable

--color-primary: hsl(27, 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(27, 54%, 20%)?

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

What colors go well with #4F3017?

The complementary color is HSL(207, 54%, 20%). For a triadic harmony, use hues 27°, 147°, and 267°. For analogous combinations, try hues 357° and 57°. See the Color Harmony section above for complete palettes with previews.

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

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