HSL(52, 40%, 82%)

Yellow — Yellow color

Adjust Color

Color Information

Color Name

Yellow

Color Family

Yellow

Warm / Cool

🔴 Warm

Temperature

2700K

CSS Class

bg-[hsl(52,40%,82%)]

Color Conversions

Format Value CSS Usage
HSL hsl(52, 40%, 82%) color: hsl(52, 40%, 82%)
HEX #E3DFBF color: #E3DFBF
RGB rgb(227, 223, 191) color: rgb(227, 223, 191)
CMYK cmyk(0%, 2%, 16%, 11%)
HSV hsv(53, 16%, 89%)
HWB hwb(53 75% 11%) color: hwb(53 75% 11%)
OKLCH oklch(0.8985 0.0426 101.34) color: oklch(0.8985 0.0426 101.34)
Lab lab(88.39 -3.91 16.2) color: lab(88.39 -3.91 16.2)
LCH lch(88.39 16.67 103.57) color: lch(88.39 16.67 103.57)

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.35:1
vs Black 15.57: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)

#E1E1C7 — rgb(225, 225, 199)

Deuteranopia (Green-blind)

#E2E2C9 — rgb(226, 226, 201)

Tritanopia (Blue-blind)

#E3CDCE — rgb(227, 205, 206)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(52, 40%, 82%);

text

color: hsl(52, 40%, 82%);

border

border: 2px solid hsl(52, 40%, 82%);

gradient light

background: linear-gradient(to right, hsl(52, 40%, 100%), hsl(52, 40%, 82%));

gradient dark

background: linear-gradient(to right, hsl(52, 40%, 82%), hsl(52, 40%, 62%))

hex

background-color: #E3DFBF;

tailwind

bg-[hsl(52,40%,82%)]

box shadow

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

css variable

--color-primary: hsl(52, 40%, 82%);

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(52, 40%, 82%)?

HEX: #E3DFBF | RGB: rgb(227, 223, 191) | CMYK: 0%, 2%, 16%, 11% | HSV: 53°, 16%, 89%. Copy any format from the conversion table above.

What colors go well with #E3DFBF?

The complementary color is HSL(232, 40%, 82%). For a triadic harmony, use hues 52°, 172°, and 292°. For analogous combinations, try hues 22° and 82°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(52, 40%, 82%) in CSS?

As HSL: color: hsl(52, 40%, 82%); — As HEX: color: #E3DFBF; — As RGB: color: rgb(227, 223, 191); — Tailwind CSS: bg-[hsl(52,40%,82%)] — CSS variable: --color-primary: hsl(52, 40%, 82%);