Skip to content

#ecfcef

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

RGB
236, 252, 239
HSL
131°, 73%, 96%
CMYK
6, 0, 5, 1
Luminance
0.9369

Every format

HEX#ecfcef
RGBrgb(236, 252, 239)
HSLhsl(131, 73%, 96%)
CMYKcmyk(6%, 0%, 5%, 1%)
LABlab(97.5 -7.6 4.4)
LCHlch(97.5 8.8 149.7)
OKLCHoklch(0.976 0.024 151.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green98.8%
Blue93.7%

CMYK percentages

Cyan6.3%
Magenta0.0%
Yellow5.2%
Key (black)1.2%

Color previews

#ecfcef text on a black background

contrast 19.74:1

Card sample

#ecfcef text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecfcef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecfcef in the Color Lab