HSL(42, 82%, 71%)

Orange — Orange color

Adjust Color

Color Information

Color Name

Orange

Color Family

Orange

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(42,82%,71%)]

Color Conversions

Format Value CSS Usage
HSL hsl(42, 82%, 71%) color: hsl(42, 82%, 71%)
HEX #F2CD78 color: #F2CD78
RGB rgb(242, 205, 120) color: rgb(242, 205, 120)
CMYK cmyk(0%, 15%, 50%, 5%)
HSV hsv(42, 50%, 95%)
HWB hwb(42 48% 5%) color: hwb(42 48% 5%)
OKLCH oklch(0.8624 0.1122 86.53) color: oklch(0.8624 0.1122 86.53)
Lab lab(83.91 2.6 46.86) color: lab(83.91 2.6 46.86)
LCH lch(83.91 46.93 86.82) color: lch(83.91 46.93 86.82)

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.52:1
vs Black 13.78: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)

#E2E28D — rgb(226, 226, 141)

Deuteranopia (Green-blind)

#E4E792 — rgb(228, 231, 146)

Tritanopia (Blue-blind)

#F09DA0 — rgb(240, 157, 160)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(42, 82%, 71%);

text

color: hsl(42, 82%, 71%);

border

border: 2px solid hsl(42, 82%, 71%);

gradient light

background: linear-gradient(to right, hsl(42, 82%, 91%), hsl(42, 82%, 71%));

gradient dark

background: linear-gradient(to right, hsl(42, 82%, 71%), hsl(42, 82%, 51%))

hex

background-color: #F2CD78;

tailwind

bg-[hsl(42,82%,71%)]

box shadow

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

css variable

--color-primary: hsl(42, 82%, 71%);

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, 82%, 71%)?

HEX: #F2CD78 | RGB: rgb(242, 205, 120) | CMYK: 0%, 15%, 50%, 5% | HSV: 42°, 50%, 95%. Copy any format from the conversion table above.

What colors go well with #F2CD78?

The complementary color is HSL(222, 82%, 71%). 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, 82%, 71%) in CSS?

As HSL: color: hsl(42, 82%, 71%); — As HEX: color: #F2CD78; — As RGB: color: rgb(242, 205, 120); — Tailwind CSS: bg-[hsl(42,82%,71%)] — CSS variable: --color-primary: hsl(42, 82%, 71%);