HSL(54, 52%, 80%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(54, 52%, 80%) color: hsl(54, 52%, 80%)
HEX #E7E1B1 color: #E7E1B1
RGB rgb(231, 225, 177) color: rgb(231, 225, 177)
CMYK cmyk(0%, 3%, 23%, 9%)
HSV hsv(53, 23%, 91%)
HWB hwb(53 70% 9%) color: hwb(53 70% 9%)
OKLCH oklch(0.9026 0.063 101.62) color: oklch(0.9026 0.063 101.62)
Lab lab(88.93 -5.49 24.28) color: lab(88.93 -5.49 24.28)
LCH lch(88.93 24.89 102.74) color: lch(88.93 24.89 102.74)

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.33:1
vs Black 15.8: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)

#E4E4BD — rgb(228, 228, 189)

Deuteranopia (Green-blind)

#E5E5BF — rgb(229, 229, 191)

Tritanopia (Blue-blind)

#E7C6C8 — rgb(231, 198, 200)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

background: linear-gradient(to right, hsl(54, 52%, 100%), hsl(54, 52%, 80%));

gradient dark

background: linear-gradient(to right, hsl(54, 52%, 80%), hsl(54, 52%, 60%))

hex

background-color: #E7E1B1;

tailwind

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

box shadow

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

css variable

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

Related Colors

Use Cases for Yellow

Warnings Highlights Attention indicators Optimistic brands Note/sticky elements

Frequently Asked Questions

What are all the color codes for HSL(54, 52%, 80%)?

HEX: #E7E1B1 | RGB: rgb(231, 225, 177) | CMYK: 0%, 3%, 23%, 9% | HSV: 53°, 23%, 91%. Copy any format from the conversion table above.

What colors go well with #E7E1B1?

The complementary color is HSL(234, 52%, 80%). For a triadic harmony, use hues 54°, 174°, and 294°. For analogous combinations, try hues 24° and 84°. See the Color Harmony section above for complete palettes with previews.

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

As HSL: color: hsl(54, 52%, 80%); — As HEX: color: #E7E1B1; — As RGB: color: rgb(231, 225, 177); — Tailwind CSS: bg-[hsl(54,52%,80%)] — CSS variable: --color-primary: hsl(54, 52%, 80%);