Skip to content

#e2dfd9

a pale, muted yellow · warm · closest name: white

RGB
226, 223, 217
HSL
40°, 13%, 87%
CMYK
0, 1, 4, 11
Luminance
0.7395

Every format

HEX#e2dfd9
RGBrgb(226, 223, 217)
HSLhsl(40, 13%, 87%)
CMYKcmyk(0%, 1%, 4%, 11%)
LABlab(88.9 -0.0 3.3)
LCHlch(88.9 3.3 90.7)
OKLCHoklch(0.904 0.009 84.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2dfd9 on white: 1.33:1
AA ✗ fail · AA-large · AAA
Aa
#e2dfd9 on black: 15.79:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green87.5%
Blue85.1%

CMYK percentages

Cyan0.0%
Magenta1.3%
Yellow4.0%
Key (black)11.4%

Color previews

#e2dfd9 text on a black background

contrast 15.79:1

Card sample

#e2dfd9 text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2dfd9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2dfd9 in the Color Lab