#ECFF97#ECFF97

#ECFF97 is a very light, vivid yellow-green. Relative luminance 0.916; OKLCH L 96.4% C 0.130 H 117.4°. Best body text is #000000 at 19.32:1 contrast (WCAG AA passes).

Color values

HEX#ECFF97
RGBrgb(236, 255, 151)
HSLhsl(71, 100%, 80%)
HSVhsv(71, 41%, 100%)
CMYKcmyk(7.5%, 0%, 40.8%, 0%)
CIE-LABlab(96.65, -21.61, 47.55)
CIE-LCHlch(96.65, 52.23, 114.44°)
OKLaboklab(96.36% -0.0598 0.1156)
OKLCHoklch(96.36% 0.13 117.4)
XYZxyz(75.9384, 91.5878, 42.9499)
Luminance0.9159 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFF97 #AA97FF
analogous
#FFDE97 #ECFF97 #B8FF97
triadic
#ECFF97 #97ECFF #FF97EC
tetradic
#ECFF97 #97FFDE #AA97FF #FF97B8
square
#ECFF97 #97FFDE #AA97FF #FF97B8
split-complementary
#ECFF97 #97B8FF #DE97FF
monochromatic
#D6FF1D #E1FF5A #ECFF97 #F7FFD4 #F9FFE0

Accessibility & contrast

On white

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

On black

19.32
#ECFF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFF97
19.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFF97#FFFFFF#000000##000000
##ECFF971.001.0919.3219.32
#FFFFFF1.091.0021.0021.00
#00000019.3221.001.001.00
##00000019.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecff97;
/* rgb */ color: rgb(236, 255, 151);
/* oklch */ color: oklch(96.4% 0.130 117.4);
Tailwind
colors: {
  custom: {
    50: '#f3ffb7',
    500: '#ecff97',
    950: '#000000',
  },
}
SCSS
$custom: #ecff97;
$custom-light: #f3ffb7;
$custom-dark: #000000;
JSON
{
  "hex": "#ecff97",
  "rgb": {
    "r": 236,
    "g": 255,
    "b": 151
  },
  "hsl": {
    "h": 70.962,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.96357,
    "c": 0.13013,
    "h": 117.4
  },
  "luminance": 0.91587
}

Semantic roles & 50–950 ramp

primary
#ECFF97
secondary
#7259E2
accent
#00E62A
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171811
muted
#858681

Preview Lab

Preview with #ECFF97

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

Preview Lab → · Contrast checker → · Palette generator →

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