HSL(34, 21%, 28%)

Orange — Orange color

Adjust Color

Color Information

Color Name

Orange

Color Family

Orange

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(34,21%,28%)]

Color Conversions

Format Value CSS Usage
HSL hsl(34, 21%, 28%) color: hsl(34, 21%, 28%)
HEX #564938 color: #564938
RGB rgb(86, 73, 56) color: rgb(86, 73, 56)
CMYK cmyk(0%, 15%, 35%, 66%)
HSV hsv(34, 35%, 34%)
HWB hwb(34 22% 66%) color: hwb(34 22% 66%)
OKLCH oklch(0.4137 0.0321 74.16) color: oklch(0.4137 0.0321 74.16)
Lab lab(31.87 2.57 12.22) color: lab(31.87 2.57 12.22)
LCH lch(31.87 12.49 78.12) color: lch(31.87 12.49 78.12)

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 8.73:1
vs Black 2.41: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)

#50503C — rgb(80, 80, 60)

Deuteranopia (Green-blind)

#51523D — rgb(81, 82, 61)

Tritanopia (Blue-blind)

#553F40 — rgb(85, 63, 64)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(34, 21%, 28%);

text

color: hsl(34, 21%, 28%);

border

border: 2px solid hsl(34, 21%, 28%);

gradient light

background: linear-gradient(to right, hsl(34, 21%, 48%), hsl(34, 21%, 28%));

gradient dark

background: linear-gradient(to right, hsl(34, 21%, 28%), hsl(34, 21%, 8%))

hex

background-color: #564938;

tailwind

bg-[hsl(34,21%,28%)]

box shadow

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

css variable

--color-primary: hsl(34, 21%, 28%);

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(34, 21%, 28%)?

HEX: #564938 | RGB: rgb(86, 73, 56) | CMYK: 0%, 15%, 35%, 66% | HSV: 34°, 35%, 34%. Copy any format from the conversion table above.

What colors go well with #564938?

The complementary color is HSL(214, 21%, 28%). For a triadic harmony, use hues 34°, 154°, and 274°. For analogous combinations, try hues 4° and 64°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(34, 21%, 28%) in CSS?

As HSL: color: hsl(34, 21%, 28%); — As HEX: color: #564938; — As RGB: color: rgb(86, 73, 56); — Tailwind CSS: bg-[hsl(34,21%,28%)] — CSS variable: --color-primary: hsl(34, 21%, 28%);