#ECFE97#ECFE97

#ECFE97 is a very light, vivid yellow-green. Relative luminance 0.910; OKLCH L 96.1% C 0.129 H 117.0°. Best body text is #000000 at 19.19:1 contrast (WCAG AA passes).

Color values

HEX#ECFE97
RGBrgb(236, 254, 151)
HSLhsl(70, 98%, 79%)
HSVhsv(70, 41%, 100%)
CMYKcmyk(7.1%, 0%, 40.6%, 0.4%)
CIE-LABlab(96.39, -21.13, 47.22)
CIE-LCHlch(96.39, 51.73, 114.11°)
OKLaboklab(96.15% -0.0585 0.1148)
OKLCHoklch(96.15% 0.129 117)
XYZxyz(75.6202, 90.9515, 42.8438)
Luminance0.9095 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFE97 #A997FE
analogous
#FEDC97 #ECFE97 #B9FE97
triadic
#ECFE97 #97ECFE #FE97EC
tetradic
#ECFE97 #97FEDC #A997FE #FE97B9
square
#ECFE97 #97FEDC #A997FE #FE97B9
split-complementary
#ECFE97 #97B9FE #DC97FE
monochromatic
#D6FD1E #E1FD5A #ECFE97 #F7FFD4 #F9FFE1

Accessibility & contrast

On white

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

On black

19.19
#ECFE97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFE97
19.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFE97#FFFFFF#000000##000000
##ECFE971.001.0919.1919.19
#FFFFFF1.091.0021.0021.00
#00000019.1921.001.001.00
##00000019.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF48F
Deuteranopia (green-blind)
#FFF59C
Tritanopia (blue-blind)
#F6F4E5
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #ecfe97;
/* rgb */ color: rgb(236, 254, 151);
/* oklch */ color: oklch(96.1% 0.129 117.0);
Tailwind
colors: {
  custom: {
    50: '#f3feb7',
    500: '#ecfe97',
    950: '#000000',
  },
}
SCSS
$custom: #ecfe97;
$custom-light: #f3feb7;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfe97",
  "rgb": {
    "r": 236,
    "g": 254,
    "b": 151
  },
  "hsl": {
    "h": 70.485,
    "s": 98.095,
    "l": 79.412
  },
  "oklch": {
    "l": 0.96148,
    "c": 0.12884,
    "h": 117
  },
  "luminance": 0.90951
}

Semantic roles & 50–950 ramp

primary
#ECFE97
secondary
#7159E0
accent
#00E628
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECFE97

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

Preview Lab → · Contrast checker → · Palette generator →

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