#ECF7CC#ECF7CC

#ECF7CC is a very light, muted yellow-green. Relative luminance 0.887; OKLCH L 95.7% C 0.057 H 119.1°. Best body text is #000000 at 18.74:1 contrast (WCAG AA passes).

Color values

HEX#ECF7CC
RGBrgb(236, 247, 204)
HSLhsl(75, 73%, 88%)
HSVhsv(75, 17%, 97%)
CMYKcmyk(4.5%, 0%, 17.4%, 3.1%)
CIE-LABlab(95.46, -10.82, 19.49)
CIE-LCHlch(95.46, 22.29, 119.04°)
OKLaboklab(95.7% -0.0279 0.0501)
OKLCHoklch(95.7% 0.057 119.1)
XYZxyz(78.7507, 88.7142, 70.0899)
Luminance0.8871 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF7CC #D7CCF7
analogous
#F7ECCC #ECF7CC #D6F7CC
triadic
#ECF7CC #CCECF7 #F7CCEC
tetradic
#ECF7CC #CCF7EC #D7CCF7 #F7CCD6
square
#ECF7CC #CCF7EC #D7CCF7 #F7CCD6
split-complementary
#ECF7CC #CCD6F7 #ECCCF7
monochromatic
#C5E662 #D8EF97 #ECF7CC #F5FBE5 #F5FBE5

Accessibility & contrast

On white

1.12
#ECF7CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.74
#ECF7CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF7CC
18.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF7CC#FFFFFF#000000##000000
##ECF7CC1.001.1218.7418.74
#FFFFFF1.121.0021.0021.00
#00000018.7421.001.001.00
##00000018.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDF2C9
Deuteranopia (green-blind)
#FCF2CE
Tritanopia (blue-blind)
#F0F2EB
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #ecf7cc;
/* rgb */ color: rgb(236, 247, 204);
/* oklch */ color: oklch(95.7% 0.057 119.1);
Tailwind
colors: {
  custom: {
    50: '#f2f9db',
    500: '#ecf7cc',
    950: '#000000',
  },
}
SCSS
$custom: #ecf7cc;
$custom-light: #f2f9db;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf7cc",
  "rgb": {
    "r": 236,
    "g": 247,
    "b": 204
  },
  "hsl": {
    "h": 75.349,
    "s": 72.881,
    "l": 88.431
  },
  "oklch": {
    "l": 0.95698,
    "c": 0.05732,
    "h": 119.1
  },
  "luminance": 0.88714
}

Semantic roles & 50–950 ramp

primary
#ECF7CC
secondary
#A18DDA
accent
#11D543
background
#FFFFFE
surface
#FEFFFB
border
#D6D7D4
text
#171715
muted
#858584

Preview Lab

Preview with #ECF7CC

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

Preview Lab → · Contrast checker → · Palette generator →

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