Skip to content

#ecfcf2

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

RGB
236, 252, 242
HSL
143°, 73%, 96%
CMYK
6, 0, 4, 1
Luminance
0.9386

Every format

HEX#ecfcf2
RGBrgb(236, 252, 242)
HSLhsl(143, 73%, 96%)
CMYKcmyk(6%, 0%, 4%, 1%)
LABlab(97.6 -7.0 3.0)
LCHlch(97.6 7.6 157.0)
OKLCHoklch(0.977 0.021 158.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecfcf2 on white: 1.06:1
AA ✗ fail · AA-large · AAA
Aa
#ecfcf2 on black: 19.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green98.8%
Blue94.9%

CMYK percentages

Cyan6.3%
Magenta0.0%
Yellow4.0%
Key (black)1.2%

Color previews

#ecfcf2 text on a black background

contrast 19.77:1

Card sample

#ecfcf2 text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecfcf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecfcf2 in the Color Lab