#ECFD98#ECFD98

#ECFD98 is a very light, vivid yellow-green. Relative luminance 0.903; OKLCH L 96.0% C 0.126 H 116.7°. Best body text is #000000 at 19.07:1 contrast (WCAG AA passes).

Color values

HEX#ECFD98
RGBrgb(236, 253, 152)
HSLhsl(70, 96%, 79%)
HSVhsv(70, 40%, 99%)
CMYKcmyk(6.7%, 0%, 39.9%, 0.8%)
CIE-LABlab(96.14, -20.54, 46.42)
CIE-LCHlch(96.14, 50.77, 113.87°)
OKLaboklab(95.95% -0.0567 0.1131)
OKLCHoklch(95.95% 0.126 116.7)
XYZxyz(75.3853, 90.3511, 43.1678)
Luminance0.9035 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFD98 #A998FD
analogous
#FDDC98 #ECFD98 #BAFD98
triadic
#ECFD98 #98ECFD #FD98EC
tetradic
#ECFD98 #98FDDC #A998FD #FD98BA
square
#ECFD98 #98FDDC #A998FD #FD98BA
split-complementary
#ECFD98 #98BAFD #DC98FD
monochromatic
#D6FB20 #E1FC5C #ECFD98 #F7FED4 #F9FEE1

Accessibility & contrast

On white

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

On black

19.07
#ECFD98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFD98
19.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFD98#FFFFFF#000000##000000
##ECFD981.001.1019.0719.07
#FFFFFF1.101.0021.0021.00
#00000019.0721.001.001.00
##00000019.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecfd98;
/* rgb */ color: rgb(236, 253, 152);
/* oklch */ color: oklch(96.0% 0.126 116.7);
Tailwind
colors: {
  custom: {
    50: '#f3feb7',
    500: '#ecfd98',
    950: '#000000',
  },
}
SCSS
$custom: #ecfd98;
$custom-light: #f3feb7;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfd98",
  "rgb": {
    "r": 236,
    "g": 253,
    "b": 152
  },
  "hsl": {
    "h": 70.099,
    "s": 96.19,
    "l": 79.412
  },
  "oklch": {
    "l": 0.95954,
    "c": 0.12649,
    "h": 116.7
  },
  "luminance": 0.9035
}

Semantic roles & 50–950 ramp

primary
#ECFD98
secondary
#715ADF
accent
#00E627
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECFD98

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

Preview Lab → · Contrast checker → · Palette generator →

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