HSL(42, 80%, 81%)

Orange — Orange color

Adjust Color

Color Information

Color Name

Orange

Color Family

Orange

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(42, 80%, 81%) color: hsl(42, 80%, 81%)
HEX #F5DEA8 color: #F5DEA8
RGB rgb(245, 222, 168) color: rgb(245, 222, 168)
CMYK cmyk(0%, 9%, 31%, 4%)
HSV hsv(42, 31%, 96%)
HWB hwb(42 66% 4%) color: hwb(42 66% 4%)
OKLCH oklch(0.9066 0.074 87.6) color: oklch(0.9066 0.074 87.6)
Lab lab(89.15 0.11 29.42) color: lab(89.15 0.11 29.42)
LCH lch(89.15 29.42 89.79) color: lch(89.15 29.42 89.79)

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.32:1
vs Black 15.9: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)

#EBEBB5 — rgb(235, 235, 181)

Deuteranopia (Green-blind)

#ECEEB8 — rgb(236, 238, 184)

Tritanopia (Blue-blind)

#F4BFC2 — rgb(244, 191, 194)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

background: linear-gradient(to right, hsl(42, 80%, 100%), hsl(42, 80%, 81%));

gradient dark

background: linear-gradient(to right, hsl(42, 80%, 81%), hsl(42, 80%, 61%))

hex

background-color: #F5DEA8;

tailwind

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

box shadow

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

css variable

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

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

HEX: #F5DEA8 | RGB: rgb(245, 222, 168) | CMYK: 0%, 9%, 31%, 4% | HSV: 42°, 31%, 96%. Copy any format from the conversion table above.

What colors go well with #F5DEA8?

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

As HSL: color: hsl(42, 80%, 81%); — As HEX: color: #F5DEA8; — As RGB: color: rgb(245, 222, 168); — Tailwind CSS: bg-[hsl(42,80%,81%)] — CSS variable: --color-primary: hsl(42, 80%, 81%);