#ECF2DC#ECF2DC

#ECF2DC is a very light, muted yellow-green. Relative luminance 0.865; OKLCH L 95.1% C 0.030 H 119.4°. Best body text is #000000 at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#ECF2DC
RGBrgb(236, 242, 220)
HSLhsl(76, 46%, 91%)
HSVhsv(76, 9%, 95%)
CMYKcmyk(2.5%, 0%, 9.1%, 5.1%)
CIE-LABlab(94.53, -5.79, 9.93)
CIE-LCHlch(94.53, 11.49, 120.23°)
OKLaboklab(95.07% -0.0146 0.0259)
OKLCHoklch(95.07% 0.03 119.4)
XYZxyz(79.2606, 86.5045, 80.2177)
Luminance0.8650 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF2DC #E2DCF2
analogous
#F2EDDC #ECF2DC #E1F2DC
triadic
#ECF2DC #DCECF2 #F2DCEC
tetradic
#ECF2DC #DCF2ED #E2DCF2 #F2DCE1
square
#ECF2DC #DCF2ED #E2DCF2 #F2DCE1
split-complementary
#ECF2DC #DCE1F2 #EDDCF2
monochromatic
#BCD183 #D4E1AF #ECF2DC #F3F7E9 #F3F7E9

Accessibility & contrast

On white

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

On black

18.30
#ECF2DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF2DC
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF2DC#FFFFFF#000000##000000
##ECF2DC1.001.1518.3018.30
#FFFFFF1.151.0021.0021.00
#00000018.3021.001.001.00
##00000018.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecf2dc;
/* rgb */ color: rgb(236, 242, 220);
/* oklch */ color: oklch(95.1% 0.030 119.4);
Tailwind
colors: {
  custom: {
    50: '#f2f6e6',
    500: '#ecf2dc',
    950: '#000000',
  },
}
SCSS
$custom: #ecf2dc;
$custom-light: #f2f6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf2dc",
  "rgb": {
    "r": 236,
    "g": 242,
    "b": 220
  },
  "hsl": {
    "h": 76.364,
    "s": 45.833,
    "l": 90.588
  },
  "oklch": {
    "l": 0.95072,
    "c": 0.02972,
    "h": 119.4
  },
  "luminance": 0.86504
}

Semantic roles & 50–950 ramp

primary
#ECF2DC
secondary
#AFA3D0
accent
#2CB953
background
#FFFFFE
surface
#FEFEFC
border
#D6D6D5
text
#161716
muted
#858584

Preview Lab

Preview with #ECF2DC

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

Preview Lab → · Contrast checker → · Palette generator →

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