#ECF1DC#ECF1DC

#ECF1DC is a very light, muted yellow-green. Relative luminance 0.859; OKLCH L 94.9% C 0.028 H 117.8°. Best body text is #000000 at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#ECF1DC
RGBrgb(236, 241, 220)
HSLhsl(74, 43%, 90%)
HSVhsv(74, 9%, 95%)
CMYKcmyk(2.1%, 0%, 8.7%, 5.5%)
CIE-LABlab(94.27, -5.28, 9.57)
CIE-LCHlch(94.27, 10.93, 118.90°)
OKLaboklab(94.87% -0.0132 0.025)
OKLCHoklch(94.87% 0.028 117.8)
XYZxyz(78.9638, 85.9109, 80.1188)
Luminance0.8591 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF1DC #E1DCF1
analogous
#F1EBDC #ECF1DC #E1F1DC
triadic
#ECF1DC #DCECF1 #F1DCEC
tetradic
#ECF1DC #DCF1EB #E1DCF1 #F1DCE1
square
#ECF1DC #DCF1EB #E1DCF1 #F1DCE1
split-complementary
#ECF1DC #DCE1F1 #EBDCF1
monochromatic
#BDCE85 #D4E0B0 #ECF1DC #F3F6E9 #F3F6E9

Accessibility & contrast

On white

1.15
#ECF1DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.18
#ECF1DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF1DC
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF1DC#FFFFFF#000000##000000
##ECF1DC1.001.1518.1818.18
#FFFFFF1.151.0021.0021.00
#00000018.1821.001.001.00
##00000018.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4EEDB
Deuteranopia (green-blind)
#F4EFDD
Tritanopia (blue-blind)
#EEEEEB
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ecf1dc;
/* rgb */ color: rgb(236, 241, 220);
/* oklch */ color: oklch(94.9% 0.028 117.8);
Tailwind
colors: {
  custom: {
    50: '#f2f5e6',
    500: '#ecf1dc',
    950: '#000000',
  },
}
SCSS
$custom: #ecf1dc;
$custom-light: #f2f5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf1dc",
  "rgb": {
    "r": 236,
    "g": 241,
    "b": 220
  },
  "hsl": {
    "h": 74.286,
    "s": 42.857,
    "l": 90.392
  },
  "oklch": {
    "l": 0.94872,
    "c": 0.02823,
    "h": 117.8
  },
  "luminance": 0.85911
}

Semantic roles & 50–950 ramp

primary
#ECF1DC
secondary
#AEA3CE
accent
#30B650
background
#FFFFFE
surface
#FEFEFC
border
#D6D6D5
text
#161716
muted
#858584

Preview Lab

Preview with #ECF1DC

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#ECF1DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva