Skip to content

#ecf6df

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

RGB
236, 246, 223
HSL
86°, 56%, 92%
CMYK
4, 0, 9, 4
Luminance
0.8907

Every format

HEX#ecf6df
RGBrgb(236, 246, 223)
HSLhsl(86, 56%, 92%)
CMYKcmyk(4%, 0%, 9%, 4%)
LABlab(95.6 -7.3 9.9)
LCHlch(95.6 12.3 126.3)
OKLCHoklch(0.960 0.032 126.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecf6df on white: 1.12:1
AA ✗ fail · AA-large · AAA
Aa
#ecf6df on black: 18.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

Cyan4.1%
Magenta0.0%
Yellow9.3%
Key (black)3.5%

Color previews

#ecf6df text on a black background

contrast 18.81:1

Card sample

#ecf6df text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecf6df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecf6df in the Color Lab