#ECFC9F#ECFC9F

#ECFC9F is a very light, moderate yellow-green. Relative luminance 0.900; OKLCH L 95.9% C 0.118 H 116.6°. Best body text is #000000 at 18.99:1 contrast (WCAG AA passes).

Color values

HEX#ECFC9F
RGBrgb(236, 252, 159)
HSLhsl(70, 94%, 81%)
HSVhsv(70, 37%, 99%)
CMYKcmyk(6.3%, 0%, 36.9%, 1.2%)
CIE-LABlab(95.98, -19.28, 42.81)
CIE-LCHlch(95.98, 46.95, 114.24°)
OKLaboklab(95.86% -0.0527 0.1051)
OKLCHoklch(95.86% 0.118 116.6)
XYZxyz(75.6607, 89.9575, 46.1718)
Luminance0.8996 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFC9F #AF9FFC
analogous
#FCDE9F #ECFC9F #BDFC9F
triadic
#ECFC9F #9FECFC #FC9FEC
tetradic
#ECFC9F #9FFCDE #AF9FFC #FC9FBD
square
#ECFC9F #9FFCDE #AF9FFC #FC9FBD
split-complementary
#ECFC9F #9FBDFC #DE9FFC
monochromatic
#D5F828 #E0FA64 #ECFC9F #F8FEDA #F9FEE1

Accessibility & contrast

On white

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

On black

18.99
#ECFC9F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFC9F
18.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFC9F#FFFFFF#000000##000000
##ECFC9F1.001.1118.9918.99
#FFFFFF1.111.0021.0021.00
#00000018.9921.001.001.00
##00000018.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF398
Deuteranopia (green-blind)
#FFF4A3
Tritanopia (blue-blind)
#F5F2E5
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #ecfc9f;
/* rgb */ color: rgb(236, 252, 159);
/* oklch */ color: oklch(95.9% 0.118 116.6);
Tailwind
colors: {
  custom: {
    50: '#f3fdbc',
    500: '#ecfc9f',
    950: '#000000',
  },
}
SCSS
$custom: #ecfc9f;
$custom-light: #f3fdbc;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfc9f",
  "rgb": {
    "r": 236,
    "g": 252,
    "b": 159
  },
  "hsl": {
    "h": 70.323,
    "s": 93.939,
    "l": 80.588
  },
  "oklch": {
    "l": 0.95856,
    "c": 0.11758,
    "h": 116.6
  },
  "luminance": 0.89957
}

Semantic roles & 50–950 ramp

primary
#ECFC9F
secondary
#7661DE
accent
#00E627
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171712
muted
#858582

Preview Lab

Preview with #ECFC9F

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

Preview Lab → · Contrast checker → · Palette generator →

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