#ECFF9A#ECFF9A

#ECFF9A is a very light, vivid yellow-green. Relative luminance 0.917; OKLCH L 96.4% C 0.127 H 117.6°. Best body text is #000000 at 19.34:1 contrast (WCAG AA passes).

Color values

HEX#ECFF9A
RGBrgb(236, 255, 154)
HSLhsl(71, 100%, 80%)
HSVhsv(71, 40%, 100%)
CMYKcmyk(7.5%, 0%, 39.6%, 0%)
CIE-LABlab(96.69, -21.28, 46.15)
CIE-LCHlch(96.69, 50.82, 114.76°)
OKLaboklab(96.4% -0.0587 0.1125)
OKLCHoklch(96.4% 0.127 117.6)
XYZxyz(76.1851, 91.6865, 44.2494)
Luminance0.9169 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFF9A #AD9AFF
analogous
#FFDF9A #ECFF9A #B9FF9A
triadic
#ECFF9A #9AECFF #FF9AEC
tetradic
#ECFF9A #9AFFDF #AD9AFF #FF9AB9
square
#ECFF9A #9AFFDF #AD9AFF #FF9AB9
split-complementary
#ECFF9A #9AB9FF #DF9AFF
monochromatic
#D5FF20 #E0FF5D #ECFF9A #F8FFD7 #F9FFE0

Accessibility & contrast

On white

1.09
#ECFF9A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.34
#ECFF9A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFF9A
19.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFF9A#FFFFFF#000000##000000
##ECFF9A1.001.0919.3419.34
#FFFFFF1.091.0021.0021.00
#00000019.3421.001.001.00
##00000019.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF592
Deuteranopia (green-blind)
#FFF69F
Tritanopia (blue-blind)
#F6F5E6
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #ecff9a;
/* rgb */ color: rgb(236, 255, 154);
/* oklch */ color: oklch(96.4% 0.127 117.6);
Tailwind
colors: {
  custom: {
    50: '#f3ffb9',
    500: '#ecff9a',
    950: '#000000',
  },
}
SCSS
$custom: #ecff9a;
$custom-light: #f3ffb9;
$custom-dark: #000000;
JSON
{
  "hex": "#ecff9a",
  "rgb": {
    "r": 236,
    "g": 255,
    "b": 154
  },
  "hsl": {
    "h": 71.287,
    "s": 100,
    "l": 80.196
  },
  "oklch": {
    "l": 0.96402,
    "c": 0.12692,
    "h": 117.6
  },
  "luminance": 0.91686
}

Semantic roles & 50–950 ramp

primary
#ECFF9A
secondary
#755BE2
accent
#00E62B
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171811
muted
#858681

Preview Lab

Preview with #ECFF9A

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

Preview Lab → · Contrast checker → · Palette generator →

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