Skip to content

#ecf0df

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

RGB
236, 240, 223
HSL
74°, 36%, 91%
CMYK
2, 0, 7, 6
Luminance
0.8548

Every format

HEX#ecf0df
RGBrgb(236, 240, 223)
HSLhsl(74, 36%, 91%)
CMYKcmyk(2%, 0%, 7%, 6%)
LABlab(94.1 -4.3 7.8)
LCHlch(94.1 8.8 118.9)
OKLCHoklch(0.948 0.023 117.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecf0df on white: 1.16:1
AA ✗ fail · AA-large · AAA
Aa
#ecf0df on black: 18.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green94.1%
Blue87.5%

CMYK percentages

Cyan1.7%
Magenta0.0%
Yellow7.1%
Key (black)5.9%

Color previews

#ecf0df text on a black background

contrast 18.10:1

Card sample

#ecf0df text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecf0df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecf0df in the Color Lab