#ECFC9E#ECFC9E

#ECFC9E is a very light, moderate yellow-green. Relative luminance 0.899; OKLCH L 95.8% C 0.119 H 116.6°. Best body text is #000000 at 18.98:1 contrast (WCAG AA passes).

Color values

HEX#ECFC9E
RGBrgb(236, 252, 158)
HSLhsl(70, 94%, 80%)
HSVhsv(70, 37%, 99%)
CMYKcmyk(6.3%, 0%, 37.3%, 1.2%)
CIE-LABlab(95.96, -19.39, 43.28)
CIE-LCHlch(95.96, 47.43, 114.14°)
OKLaboklab(95.84% -0.0531 0.1061)
OKLCHoklch(95.84% 0.119 116.6)
XYZxyz(75.5743, 89.9229, 45.7167)
Luminance0.8992 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFC9E #AE9EFC
analogous
#FCDD9E #ECFC9E #BDFC9E
triadic
#ECFC9E #9EECFC #FC9EEC
tetradic
#ECFC9E #9EFCDD #AE9EFC #FC9EBD
square
#ECFC9E #9EFCDD #AE9EFC #FC9EBD
split-complementary
#ECFC9E #9EBDFC #DD9EFC
monochromatic
#D5F827 #E0FA63 #ECFC9E #F8FED9 #F9FEE1

Accessibility & contrast

On white

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

On black

18.98
#ECFC9E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFC9E
18.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFC9E#FFFFFF#000000##000000
##ECFC9E1.001.1118.9818.98
#FFFFFF1.111.0021.0021.00
#00000018.9821.001.001.00
##00000018.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecfc9e;
/* rgb */ color: rgb(236, 252, 158);
/* oklch */ color: oklch(95.8% 0.119 116.6);
Tailwind
colors: {
  custom: {
    50: '#f3fdbc',
    500: '#ecfc9e',
    950: '#000000',
  },
}
SCSS
$custom: #ecfc9e;
$custom-light: #f3fdbc;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfc9e",
  "rgb": {
    "r": 236,
    "g": 252,
    "b": 158
  },
  "hsl": {
    "h": 70.213,
    "s": 94,
    "l": 80.392
  },
  "oklch": {
    "l": 0.9584,
    "c": 0.11868,
    "h": 116.6
  },
  "luminance": 0.89922
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECFC9E

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

Preview Lab → · Contrast checker → · Palette generator →

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