#ECFD97#ECFD97

#ECFD97 is a very light, vivid yellow-green. Relative luminance 0.903; OKLCH L 95.9% C 0.128 H 116.6°. Best body text is #000000 at 19.06:1 contrast (WCAG AA passes).

Color values

HEX#ECFD97
RGBrgb(236, 253, 151)
HSLhsl(70, 96%, 79%)
HSVhsv(70, 40%, 99%)
CMYKcmyk(6.7%, 0%, 40.3%, 0.8%)
CIE-LABlab(96.13, -20.65, 46.89)
CIE-LCHlch(96.13, 51.24, 113.77°)
OKLaboklab(95.94% -0.0571 0.1141)
OKLCHoklch(95.94% 0.128 116.6)
XYZxyz(75.3037, 90.3184, 42.7383)
Luminance0.9032 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFD97 #A897FD
analogous
#FDDB97 #ECFD97 #B9FD97
triadic
#ECFD97 #97ECFD #FD97EC
tetradic
#ECFD97 #97FDDB #A897FD #FD97B9
square
#ECFD97 #97FDDB #A897FD #FD97B9
split-complementary
#ECFD97 #97B9FD #DB97FD
monochromatic
#D6FB1F #E1FC5B #ECFD97 #F7FED3 #FAFEE1

Accessibility & contrast

On white

1.10
#ECFD97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.06
#ECFD97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFD97
19.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFD97#FFFFFF#000000##000000
##ECFD971.001.1019.0619.06
#FFFFFF1.101.0021.0021.00
#00000019.0621.001.001.00
##00000019.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF38F
Deuteranopia (green-blind)
#FFF59C
Tritanopia (blue-blind)
#F6F3E4
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #ecfd97;
/* rgb */ color: rgb(236, 253, 151);
/* oklch */ color: oklch(95.9% 0.128 116.6);
Tailwind
colors: {
  custom: {
    50: '#f3feb7',
    500: '#ecfd97',
    950: '#000000',
  },
}
SCSS
$custom: #ecfd97;
$custom-light: #f3feb7;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfd97",
  "rgb": {
    "r": 236,
    "g": 253,
    "b": 151
  },
  "hsl": {
    "h": 70,
    "s": 96.226,
    "l": 79.216
  },
  "oklch": {
    "l": 0.95939,
    "c": 0.12756,
    "h": 116.6
  },
  "luminance": 0.90318
}

Semantic roles & 50–950 ramp

primary
#ECFD97
secondary
#7059DF
accent
#00E626
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECFD97

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

Preview Lab → · Contrast checker → · Palette generator →

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