Skip to content

#ecefe2

a pale, soft green · cool · closest name: ivory

RGB
236, 239, 226
HSL
74°, 29%, 91%
CMYK
1, 0, 5, 6
Luminance
0.8506

Every format

HEX#ecefe2
RGBrgb(236, 239, 226)
HSLhsl(74, 29%, 91%)
CMYKcmyk(1%, 0%, 5%, 6%)
LABlab(93.9 -3.3 5.9)
LCHlch(93.9 6.8 118.9)
OKLCHoklch(0.946 0.018 117.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecefe2 on white: 1.17:1
AA ✗ fail · AA-large · AAA
Aa
#ecefe2 on black: 18.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green93.7%
Blue88.6%

CMYK percentages

Cyan1.3%
Magenta0.0%
Yellow5.4%
Key (black)6.3%

Color previews

#ecefe2 text on a black background

contrast 18.01:1

Card sample

#ecefe2 text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecefe2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecefe2 in the Color Lab