#ECFE98#ECFE98

#ECFE98 is a very light, vivid yellow-green. Relative luminance 0.910; OKLCH L 96.2% C 0.128 H 117.1°. Best body text is #000000 at 19.20:1 contrast (WCAG AA passes).

Color values

HEX#ECFE98
RGBrgb(236, 254, 152)
HSLhsl(71, 98%, 80%)
HSVhsv(71, 40%, 100%)
CMYKcmyk(7.1%, 0%, 40.2%, 0.4%)
CIE-LABlab(96.40, -21.02, 46.75)
CIE-LCHlch(96.40, 51.26, 114.21°)
OKLaboklab(96.16% -0.0581 0.1138)
OKLCHoklch(96.16% 0.128 117.1)
XYZxyz(75.7018, 90.9841, 43.2733)
Luminance0.9098 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFE98 #AA98FE
analogous
#FEDD98 #ECFE98 #B9FE98
triadic
#ECFE98 #98ECFE #FE98EC
tetradic
#ECFE98 #98FEDD #AA98FE #FE98B9
square
#ECFE98 #98FEDD #AA98FE #FE98B9
split-complementary
#ECFE98 #98B9FE #DD98FE
monochromatic
#D6FD1F #E1FD5B #ECFE98 #F7FFD5 #F9FFE1

Accessibility & contrast

On white

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

On black

19.20
#ECFE98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFE98
19.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFE98#FFFFFF#000000##000000
##ECFE981.001.0919.2019.20
#FFFFFF1.091.0021.0021.00
#00000019.2021.001.001.00
##00000019.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecfe98;
/* rgb */ color: rgb(236, 254, 152);
/* oklch */ color: oklch(96.2% 0.128 117.1);
Tailwind
colors: {
  custom: {
    50: '#f3feb8',
    500: '#ecfe98',
    950: '#000000',
  },
}
SCSS
$custom: #ecfe98;
$custom-light: #f3feb8;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfe98",
  "rgb": {
    "r": 236,
    "g": 254,
    "b": 152
  },
  "hsl": {
    "h": 70.588,
    "s": 98.077,
    "l": 79.608
  },
  "oklch": {
    "l": 0.96163,
    "c": 0.12778,
    "h": 117.1
  },
  "luminance": 0.90983
}

Semantic roles & 50–950 ramp

primary
#ECFE98
secondary
#725AE0
accent
#00E628
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECFE98

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

Preview Lab → · Contrast checker → · Palette generator →

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