#ECF8CC#ECF8CC

#ECF8CC is a very light, muted yellow-green. Relative luminance 0.893; OKLCH L 95.9% C 0.059 H 119.9°. Best body text is #000000 at 18.87:1 contrast (WCAG AA passes).

Color values

HEX#ECF8CC
RGBrgb(236, 248, 204)
HSLhsl(76, 76%, 89%)
HSVhsv(76, 18%, 97%)
CMYKcmyk(4.8%, 0%, 17.7%, 2.7%)
CIE-LABlab(95.72, -11.32, 19.84)
CIE-LCHlch(95.72, 22.84, 119.69°)
OKLaboklab(95.9% -0.0293 0.051)
OKLCHoklch(95.9% 0.059 119.9)
XYZxyz(79.0573, 89.3274, 70.1921)
Luminance0.8933 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF8CC #D8CCF8
analogous
#F8EECC #ECF8CC #D6F8CC
triadic
#ECF8CC #CCECF8 #F8CCEC
tetradic
#ECF8CC #CCF8EE #D8CCF8 #F8CCD6
square
#ECF8CC #CCF8EE #D8CCF8 #F8CCD6
split-complementary
#ECF8CC #CCD6F8 #EECCF8
monochromatic
#C4E960 #D8F196 #ECF8CC #F5FBE4 #F5FBE4

Accessibility & contrast

On white

1.11
#ECF8CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.87
#ECF8CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF8CC
18.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF8CC#FFFFFF#000000##000000
##ECF8CC1.001.1118.8718.87
#FFFFFF1.111.0021.0021.00
#00000018.8721.001.001.00
##00000018.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEF3C9
Deuteranopia (green-blind)
#FDF3CE
Tritanopia (blue-blind)
#F0F3EC
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #ecf8cc;
/* rgb */ color: rgb(236, 248, 204);
/* oklch */ color: oklch(95.9% 0.059 119.9);
Tailwind
colors: {
  custom: {
    50: '#f2fadb',
    500: '#ecf8cc',
    950: '#000000',
  },
}
SCSS
$custom: #ecf8cc;
$custom-light: #f2fadb;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf8cc",
  "rgb": {
    "r": 236,
    "g": 248,
    "b": 204
  },
  "hsl": {
    "h": 76.364,
    "s": 75.862,
    "l": 88.627
  },
  "oklch": {
    "l": 0.95901,
    "c": 0.05878,
    "h": 119.9
  },
  "luminance": 0.89327
}

Semantic roles & 50–950 ramp

primary
#ECF8CC
secondary
#A28CDC
accent
#0DD845
background
#FFFFFE
surface
#FEFFFB
border
#D6D7D4
text
#171715
muted
#858584

Preview Lab

Preview with #ECF8CC

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

Preview Lab → · Contrast checker → · Palette generator →

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