Skip to content

#e2dfb1

a light, vivid yellow · cool · closest name: beige

RGB
226, 223, 177
HSL
56°, 46%, 79%
CMYK
0, 1, 22, 11
Luminance
0.7212

Every format

HEX#e2dfb1
RGBrgb(226, 223, 177)
HSLhsl(56, 46%, 79%)
CMYKcmyk(0%, 1%, 22%, 11%)
LABlab(88.0 -6.3 23.0)
LCHlch(88.0 23.8 105.4)
OKLCHoklch(0.894 0.060 104.5)

Copy-ready code

/* CSS */
color: #e2dfb1;
background-color: #e2dfb1;
/* Tailwind (arbitrary) */
class="text-[#e2dfb1] bg-[#e2dfb1]"
/* SCSS */
$brand: #e2dfb1;
/* SwiftUI */
Color(red: 0.886, green: 0.875, blue: 0.694)
/* Android */
Color.parseColor("#e2dfb1")

Accessibility — WCAG contrast

Aa
#e2dfb1 on white: 1.36:1
AA ✗ fail · AA-large · AAA
Aa
#e2dfb1 on black: 15.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green87.5%
Blue69.4%

CMYK percentages

Cyan0.0%
Magenta1.3%
Yellow21.7%
Key (black)11.4%

Color previews

#e2dfb1 text on a black background

contrast 15.42:1

Card sample

#e2dfb1 text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #e2dfb1;
Background color
Panel with #e2dfb1 background
background-color: #e2dfb1;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #e2dfb1;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(226, 223, 177, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(226, 223, 177, 0.45);
Border & gradient
Gradient panel
border: 3px solid #e2dfb1;
background: linear-gradient(135deg, #e2dfb1, #C4E2B1);

Monochromatic scale

Palettes built from #e2dfb1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2dfb1 in the Color Lab