Skip to content

#ecf2ee

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

RGB
236, 242, 238
HSL
140°, 19%, 94%
CMYK
3, 0, 2, 5
Luminance
0.8751

Every format

HEX#ecf2ee
RGBrgb(236, 242, 238)
HSLhsl(140, 19%, 94%)
CMYKcmyk(3%, 0%, 2%, 5%)
LABlab(95.0 -2.7 1.2)
LCHlch(95.0 3.0 155.5)
OKLCHoklch(0.956 0.008 157.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecf2ee on white: 1.14:1
AA ✗ fail · AA-large · AAA
Aa
#ecf2ee on black: 18.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green94.9%
Blue93.3%

CMYK percentages

Cyan2.5%
Magenta0.0%
Yellow1.7%
Key (black)5.1%

Color previews

#ecf2ee text on a black background

contrast 18.50:1

Card sample

#ecf2ee text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecf2ee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecf2ee in the Color Lab