Skip to content

#ecf7df

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

RGB
236, 247, 223
HSL
88°, 60%, 92%
CMYK
5, 0, 10, 3
Luminance
0.8968

Every format

HEX#ecf7df
RGBrgb(236, 247, 223)
HSLhsl(88, 60%, 92%)
CMYKcmyk(5%, 0%, 10%, 3%)
LABlab(95.9 -7.8 10.3)
LCHlch(95.9 12.9 127.2)
OKLCHoklch(0.962 0.034 127.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecf7df on white: 1.11:1
AA ✗ fail · AA-large · AAA
Aa
#ecf7df on black: 18.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green96.9%
Blue87.5%

CMYK percentages

Cyan4.5%
Magenta0.0%
Yellow9.7%
Key (black)3.1%

Color previews

#ecf7df text on a black background

contrast 18.94:1

Card sample

#ecf7df text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecf7df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecf7df in the Color Lab