HSL(27, 50%, 20%)

Orange — Orange color

Adjust Color

Color Information

Color Name

Orange

Color Family

Orange

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(27, 50%, 20%) color: hsl(27, 50%, 20%)
HEX #4D301A color: #4D301A
RGB rgb(77, 48, 26) color: rgb(77, 48, 26)
CMYK cmyk(0%, 38%, 66%, 70%)
HSV hsv(26, 66%, 30%)
HWB hwb(26 10% 70%) color: hwb(26 10% 70%)
OKLCH oklch(0.3391 0.0545 56.8) color: oklch(0.3391 0.0545 56.8)
Lab lab(22.88 10.61 19.34) color: lab(22.88 10.61 19.34)
LCH lch(22.88 22.06 61.25) color: lch(22.88 22.06 61.25)

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.98:1
vs Black 1.75: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)

#40401F — rgb(64, 64, 31)

Deuteranopia (Green-blind)

#424421 — rgb(66, 68, 33)

Tritanopia (Blue-blind)

#4C2424 — rgb(76, 36, 36)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #4D301A;

tailwind

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

box shadow

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

css variable

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

HEX: #4D301A | RGB: rgb(77, 48, 26) | CMYK: 0%, 38%, 66%, 70% | HSV: 26°, 66%, 30%. Copy any format from the conversion table above.

What colors go well with #4D301A?

The complementary color is HSL(207, 50%, 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, 50%, 20%) in CSS?

As HSL: color: hsl(27, 50%, 20%); — As HEX: color: #4D301A; — As RGB: color: rgb(77, 48, 26); — Tailwind CSS: bg-[hsl(27,50%,20%)] — CSS variable: --color-primary: hsl(27, 50%, 20%);