Skip to content

#e2decc

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

RGB
226, 222, 204
HSL
49°, 28%, 84%
CMYK
0, 2, 10, 11
Luminance
0.7277

Every format

HEX#e2decc
RGBrgb(226, 222, 204)
HSLhsl(49, 28%, 84%)
CMYKcmyk(0%, 2%, 10%, 11%)
LABlab(88.3 -1.7 9.3)
LCHlch(88.3 9.5 100.4)
OKLCHoklch(0.899 0.025 96.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2decc on white: 1.35:1
AA ✗ fail · AA-large · AAA
Aa
#e2decc on black: 15.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green87.1%
Blue80.0%

CMYK percentages

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

Color previews

#e2decc text on a black background

contrast 15.55:1

Card sample

#e2decc text on a white background

contrast 1.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2decc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2decc in the Color Lab