HSL(27, 74%, 21%)

Orange — Orange color

Adjust Color

Color Information

Color Name

Orange

Color Family

Orange

Warm / Cool

🔴 Warm

Temperature

2000K

CSS Class

bg-[hsl(27,74%,21%)]

Color Conversions

Format Value CSS Usage
HSL hsl(27, 74%, 21%) color: hsl(27, 74%, 21%)
HEX #5D320E color: #5D320E
RGB rgb(93, 50, 14) color: rgb(93, 50, 14)
CMYK cmyk(0%, 46%, 85%, 64%)
HSV hsv(27, 85%, 36%)
HWB hwb(27 5% 64%) color: hwb(27 5% 64%)
OKLCH oklch(0.3654 0.0782 56.06) color: oklch(0.3654 0.0782 56.06)
Lab lab(25.69 16.43 29.86) color: lab(25.69 16.43 29.86)
LCH lch(25.69 34.08 61.18) color: lch(25.69 34.08 61.18)

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 10.89:1
vs Black 1.93: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)

#4A4A17 — rgb(74, 74, 23)

Deuteranopia (Green-blind)

#4D5019 — rgb(77, 80, 25)

Tritanopia (Blue-blind)

#5B1E1F — rgb(91, 30, 31)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(27, 74%, 21%);

text

color: hsl(27, 74%, 21%);

border

border: 2px solid hsl(27, 74%, 21%);

gradient light

background: linear-gradient(to right, hsl(27, 74%, 41%), hsl(27, 74%, 21%));

gradient dark

background: linear-gradient(to right, hsl(27, 74%, 21%), hsl(27, 74%, 1%))

hex

background-color: #5D320E;

tailwind

bg-[hsl(27,74%,21%)]

box shadow

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

css variable

--color-primary: hsl(27, 74%, 21%);

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, 74%, 21%)?

HEX: #5D320E | RGB: rgb(93, 50, 14) | CMYK: 0%, 46%, 85%, 64% | HSV: 27°, 85%, 36%. Copy any format from the conversion table above.

What colors go well with #5D320E?

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

As HSL: color: hsl(27, 74%, 21%); — As HEX: color: #5D320E; — As RGB: color: rgb(93, 50, 14); — Tailwind CSS: bg-[hsl(27,74%,21%)] — CSS variable: --color-primary: hsl(27, 74%, 21%);