Skip to content

#ecf2ed

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

RGB
236, 242, 237
HSL
130°, 19%, 94%
CMYK
3, 0, 2, 5
Luminance
0.8745

Every format

HEX#ecf2ed
RGBrgb(236, 242, 237)
HSLhsl(130, 19%, 94%)
CMYKcmyk(3%, 0%, 2%, 5%)
LABlab(94.9 -2.9 1.7)
LCHlch(94.9 3.4 149.3)
OKLCHoklch(0.955 0.009 150.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green94.9%
Blue92.9%

CMYK percentages

Cyan2.5%
Magenta0.0%
Yellow2.1%
Key (black)5.1%

Color previews

#ecf2ed text on a black background

contrast 18.49:1

Card sample

#ecf2ed text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecf2ed

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecf2ed in the Color Lab