HSL(56, 62%, 73%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(56,62%,73%)]

Color Conversions

Format Value CSS Usage
HSL hsl(56, 62%, 73%) color: hsl(56, 62%, 73%)
HEX #E5DF8F color: #E5DF8F
RGB rgb(229, 223, 143) color: rgb(229, 223, 143)
CMYK cmyk(0%, 3%, 38%, 10%)
HSV hsv(56, 38%, 90%)
HWB hwb(56 56% 10%) color: hwb(56 56% 10%)
OKLCH oklch(0.8906 0.1012 104.57) color: oklch(0.8906 0.1012 104.57)
Lab lab(87.69 -9.46 39.95) color: lab(87.69 -9.46 39.95)
LCH lch(87.69 41.05 103.32) color: lch(87.69 41.05 103.32)

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.37:1
vs Black 15.28: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)

#E2E2A2 — rgb(226, 226, 162)

Deuteranopia (Green-blind)

#E3E3A7 — rgb(227, 227, 167)

Tritanopia (Blue-blind)

#E5B2B5 — rgb(229, 178, 181)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(56, 62%, 73%);

text

color: hsl(56, 62%, 73%);

border

border: 2px solid hsl(56, 62%, 73%);

gradient light

background: linear-gradient(to right, hsl(56, 62%, 93%), hsl(56, 62%, 73%));

gradient dark

background: linear-gradient(to right, hsl(56, 62%, 73%), hsl(56, 62%, 53%))

hex

background-color: #E5DF8F;

tailwind

bg-[hsl(56,62%,73%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(56, 62%, 73%, 0.4);

css variable

--color-primary: hsl(56, 62%, 73%);

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(56, 62%, 73%)?

HEX: #E5DF8F | RGB: rgb(229, 223, 143) | CMYK: 0%, 3%, 38%, 10% | HSV: 56°, 38%, 90%. Copy any format from the conversion table above.

What colors go well with #E5DF8F?

The complementary color is HSL(236, 62%, 73%). For a triadic harmony, use hues 56°, 176°, and 296°. For analogous combinations, try hues 26° and 86°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(56, 62%, 73%) in CSS?

As HSL: color: hsl(56, 62%, 73%); — As HEX: color: #E5DF8F; — As RGB: color: rgb(229, 223, 143); — Tailwind CSS: bg-[hsl(56,62%,73%)] — CSS variable: --color-primary: hsl(56, 62%, 73%);