#ECFF98#ECFF98

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

Color values

HEX#ECFF98
RGBrgb(236, 255, 152)
HSLhsl(71, 100%, 80%)
HSVhsv(71, 40%, 100%)
CMYKcmyk(7.5%, 0%, 40.4%, 0%)
CIE-LABlab(96.66, -21.50, 47.08)
CIE-LCHlch(96.66, 51.76, 114.54°)
OKLaboklab(96.37% -0.0595 0.1146)
OKLCHoklch(96.37% 0.129 117.4)
XYZxyz(76.0199, 91.6204, 43.3794)
Luminance0.9162 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFF98 #AB98FF
analogous
#FFDF98 #ECFF98 #B9FF98
triadic
#ECFF98 #98ECFF #FF98EC
tetradic
#ECFF98 #98FFDF #AB98FF #FF98B9
square
#ECFF98 #98FFDF #AB98FF #FF98B9
split-complementary
#ECFF98 #98B9FF #DF98FF
monochromatic
#D5FF1E #E1FF5B #ECFF98 #F7FFD5 #F9FFE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECFF98#FFFFFF#000000##000000
##ECFF981.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)
#FFF590
Deuteranopia (green-blind)
#FFF69D
Tritanopia (blue-blind)
#F6F5E6
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #ecff98;
/* rgb */ color: rgb(236, 255, 152);
/* oklch */ color: oklch(96.4% 0.129 117.4);
Tailwind
colors: {
  custom: {
    50: '#f3ffb8',
    500: '#ecff98',
    950: '#000000',
  },
}
SCSS
$custom: #ecff98;
$custom-light: #f3ffb8;
$custom-dark: #000000;
JSON
{
  "hex": "#ecff98",
  "rgb": {
    "r": 236,
    "g": 255,
    "b": 152
  },
  "hsl": {
    "h": 71.068,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.96372,
    "c": 0.12907,
    "h": 117.4
  },
  "luminance": 0.9162
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECFF98

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

Preview Lab → · Contrast checker → · Palette generator →

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