#ECFF8F#ECFF8F

#ECFF8F is a very light, vivid yellow-green. Relative luminance 0.913; OKLCH L 96.2% C 0.138 H 117.0°. Best body text is #000000 at 19.27:1 contrast (WCAG AA passes).

Color values

HEX#ECFF8F
RGBrgb(236, 255, 143)
HSLhsl(70, 100%, 78%)
HSVhsv(70, 44%, 100%)
CMYKcmyk(7.5%, 0%, 43.9%, 0%)
CIE-LABlab(96.55, -22.45, 51.24)
CIE-LCHlch(96.55, 55.94, 113.66°)
OKLaboklab(96.24% -0.0628 0.1234)
OKLCHoklch(96.24% 0.138 117)
XYZxyz(75.3106, 91.3367, 39.6436)
Luminance0.9134 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFF8F #A28FFF
analogous
#FFDA8F #ECFF8F #B4FF8F
triadic
#ECFF8F #8FECFF #FF8FEC
tetradic
#ECFF8F #8FFFDA #A28FFF #FF8FB4
square
#ECFF8F #8FFFDA #A28FFF #FF8FB4
split-complementary
#ECFF8F #8FB4FF #DA8FFF
monochromatic
#D7FF15 #E2FF52 #ECFF8F #F6FFCC #FAFFE0

Accessibility & contrast

On white

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

On black

19.27
#ECFF8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFF8F
19.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFF8F#FFFFFF#000000##000000
##ECFF8F1.001.0919.2719.27
#FFFFFF1.091.0021.0021.00
#00000019.2721.001.001.00
##00000019.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF586
Deuteranopia (green-blind)
#FFF695
Tritanopia (blue-blind)
#F7F4E4
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #ecff8f;
/* rgb */ color: rgb(236, 255, 143);
/* oklch */ color: oklch(96.2% 0.138 117.0);
Tailwind
colors: {
  custom: {
    50: '#f4ffb2',
    500: '#ecff8f',
    950: '#000000',
  },
}
SCSS
$custom: #ecff8f;
$custom-light: #f4ffb2;
$custom-dark: #000000;
JSON
{
  "hex": "#ecff8f",
  "rgb": {
    "r": 236,
    "g": 255,
    "b": 143
  },
  "hsl": {
    "h": 70.179,
    "s": 100,
    "l": 78.039
  },
  "oklch": {
    "l": 0.96241,
    "c": 0.13846,
    "h": 117
  },
  "luminance": 0.91336
}

Semantic roles & 50–950 ramp

primary
#ECFF8F
secondary
#6A52E0
accent
#00E627
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171811
muted
#858681

Preview Lab

Preview with #ECFF8F

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

Preview Lab → · Contrast checker → · Palette generator →

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