#ECF1DF#ECF1DF

#ECF1DF is a very light, muted yellow-green. Relative luminance 0.861; OKLCH L 94.9% C 0.024 H 119.5°. Best body text is #000000 at 18.21:1 contrast (WCAG AA passes).

Color values

HEX#ECF1DF
RGBrgb(236, 241, 223)
HSLhsl(77, 39%, 91%)
HSVhsv(77, 7%, 95%)
CMYKcmyk(2.1%, 0%, 7.5%, 5.5%)
CIE-LABlab(94.34, -4.78, 8.11)
CIE-LCHlch(94.34, 9.42, 120.52°)
OKLaboklab(94.95% -0.012 0.0212)
OKLCHoklch(94.95% 0.024 119.5)
XYZxyz(79.3647, 86.0712, 82.2300)
Luminance0.8607 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF1DF #E4DFF1
analogous
#F1EDDF #ECF1DF #E3F1DF
triadic
#ECF1DF #DFECF1 #F1DFEC
tetradic
#ECF1DF #DFF1ED #E4DFF1 #F1DFE3
square
#ECF1DF #DFF1ED #E4DFF1 #F1DFE3
split-complementary
#ECF1DF #DFE3F1 #EDDFF1
monochromatic
#B9CC8A #D3DEB4 #ECF1DF #F2F6EA #F2F6EA

Accessibility & contrast

On white

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

On black

18.21
#ECF1DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF1DF
18.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF1DF#FFFFFF#000000##000000
##ECF1DF1.001.1518.2118.21
#FFFFFF1.151.0021.0021.00
#00000018.2121.001.001.00
##00000018.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4EFDE
Deuteranopia (green-blind)
#F3EFE0
Tritanopia (blue-blind)
#EEEFEC
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ecf1df;
/* rgb */ color: rgb(236, 241, 223);
/* oklch */ color: oklch(94.9% 0.024 119.5);
Tailwind
colors: {
  custom: {
    50: '#f2f5e9',
    500: '#ecf1df',
    950: '#000000',
  },
}
SCSS
$custom: #ecf1df;
$custom-light: #f2f5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf1df",
  "rgb": {
    "r": 236,
    "g": 241,
    "b": 223
  },
  "hsl": {
    "h": 76.667,
    "s": 39.13,
    "l": 90.98
  },
  "oklch": {
    "l": 0.94949,
    "c": 0.02438,
    "h": 119.5
  },
  "luminance": 0.86071
}

Semantic roles & 50–950 ramp

primary
#ECF1DF
secondary
#B2A7CD
accent
#33B257
background
#FFFFFE
surface
#FEFEFC
border
#D6D6D5
text
#161716
muted
#858584

Preview Lab

Preview with #ECF1DF

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

Preview Lab → · Contrast checker → · Palette generator →

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