#ECFEC7#ECFEC7

#ECFEC7 is a very light, moderate yellow-green. Relative luminance 0.928; OKLCH L 97.0% C 0.074 H 122.5°. Best body text is #000000 at 19.57:1 contrast (WCAG AA passes).

Color values

HEX#ECFEC7
RGBrgb(236, 254, 199)
HSLhsl(80, 96%, 89%)
HSVhsv(80, 22%, 100%)
CMYKcmyk(7.1%, 0%, 21.7%, 0.4%)
CIE-LABlab(97.16, -15.01, 24.40)
CIE-LCHlch(97.16, 28.65, 121.61°)
OKLaboklab(97.02% -0.0396 0.0622)
OKLCHoklch(97.02% 0.074 122.5)
XYZxyz(80.3415, 92.8400, 67.7091)
Luminance0.9284 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFEC7 #D9C7FE
analogous
#FEF5C7 #ECFEC7 #D1FEC7
triadic
#ECFEC7 #C7ECFE #FEC7EC
tetradic
#ECFEC7 #C7FEF5 #D9C7FE #FEC7D1
square
#ECFEC7 #C7FEF5 #D9C7FE #FEC7D1
split-complementary
#ECFEC7 #C7D1FE #F5C7FE
monochromatic
#C3FC4F #D8FD8B #ECFEC7 #F5FEE1 #F5FEE1

Accessibility & contrast

On white

1.07
#ECFEC7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.57
#ECFEC7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFEC7
19.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFEC7#FFFFFF#000000##000000
##ECFEC71.001.0719.5719.57
#FFFFFF1.071.0021.0021.00
#00000019.5721.001.001.00
##00000019.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF7C4
Deuteranopia (green-blind)
#FFF7C9
Tritanopia (blue-blind)
#F0F8EF
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #ecfec7;
/* rgb */ color: rgb(236, 254, 199);
/* oklch */ color: oklch(97.0% 0.074 122.5);
Tailwind
colors: {
  custom: {
    50: '#f2fed8',
    500: '#ecfec7',
    950: '#000000',
  },
}
SCSS
$custom: #ecfec7;
$custom-light: #f2fed8;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfec7",
  "rgb": {
    "r": 236,
    "g": 254,
    "b": 199
  },
  "hsl": {
    "h": 79.636,
    "s": 96.491,
    "l": 88.824
  },
  "oklch": {
    "l": 0.97016,
    "c": 0.07372,
    "h": 122.5
  },
  "luminance": 0.9284
}

Semantic roles & 50–950 ramp

primary
#ECFEC7
secondary
#A382E7
accent
#00E64B
background
#FFFFFE
surface
#FEFFFB
border
#D6D7D4
text
#171714
muted
#858583

Preview Lab

Preview with #ECFEC7

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

Preview Lab → · Contrast checker → · Palette generator →

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