HSL(42, 80%, 54%)

Orange — Orange color

Adjust Color

Color Information

Color Name

Orange

Color Family

Orange

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(42,80%,54%)]

Color Conversions

Format Value CSS Usage
HSL hsl(42, 80%, 54%) color: hsl(42, 80%, 54%)
HEX #E8AF2C color: #E8AF2C
RGB rgb(232, 175, 44) color: rgb(232, 175, 44)
CMYK cmyk(0%, 25%, 81%, 9%)
HSV hsv(42, 81%, 91%)
HWB hwb(42 17% 9%) color: hwb(42 17% 9%)
OKLCH oklch(0.7865 0.1502 82.79) color: oklch(0.7865 0.1502 82.79)
Lab lab(74.83 9.61 69.27) color: lab(74.83 9.61 69.27)
LCH lch(74.83 69.93 82.1) color: lch(74.83 69.93 82.1)

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 1.98:1
vs Black 10.6:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: FAIL ✗ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#CFCF4C — rgb(207, 207, 76)

Deuteranopia (Green-blind)

#D3D753 — rgb(211, 215, 83)

Tritanopia (Blue-blind)

#E5656A — rgb(229, 101, 106)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(42, 80%, 54%);

text

color: hsl(42, 80%, 54%);

border

border: 2px solid hsl(42, 80%, 54%);

gradient light

background: linear-gradient(to right, hsl(42, 80%, 74%), hsl(42, 80%, 54%));

gradient dark

background: linear-gradient(to right, hsl(42, 80%, 54%), hsl(42, 80%, 34%))

hex

background-color: #E8AF2C;

tailwind

bg-[hsl(42,80%,54%)]

box shadow

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

css variable

--color-primary: hsl(42, 80%, 54%);

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(42, 80%, 54%)?

HEX: #E8AF2C | RGB: rgb(232, 175, 44) | CMYK: 0%, 25%, 81%, 9% | HSV: 42°, 81%, 91%. Copy any format from the conversion table above.

What colors go well with #E8AF2C?

The complementary color is HSL(222, 80%, 54%). For a triadic harmony, use hues 42°, 162°, and 282°. For analogous combinations, try hues 12° and 72°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(42, 80%, 54%) in CSS?

As HSL: color: hsl(42, 80%, 54%); — As HEX: color: #E8AF2C; — As RGB: color: rgb(232, 175, 44); — Tailwind CSS: bg-[hsl(42,80%,54%)] — CSS variable: --color-primary: hsl(42, 80%, 54%);