Skip to content

#e2dfcc

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

RGB
226, 223, 204
HSL
52°, 28%, 84%
CMYK
0, 1, 10, 11
Luminance
0.7330

Every format

HEX#e2dfcc
RGBrgb(226, 223, 204)
HSLhsl(52, 28%, 84%)
CMYKcmyk(0%, 1%, 10%, 11%)
LABlab(88.6 -2.2 9.7)
LCHlch(88.6 9.9 102.9)
OKLCHoklch(0.901 0.026 99.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2dfcc on white: 1.34:1
AA ✗ fail · AA-large · AAA
Aa
#e2dfcc on black: 15.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green87.5%
Blue80.0%

CMYK percentages

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

Color previews

#e2dfcc text on a black background

contrast 15.66:1

Card sample

#e2dfcc text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2dfcc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2dfcc in the Color Lab