#ECFF9C#ECFF9C

#ECFF9C is a very light, vivid yellow-green. Relative luminance 0.918; OKLCH L 96.4% C 0.125 H 117.7°. Best body text is #000000 at 19.35:1 contrast (WCAG AA passes).

Color values

HEX#ECFF9C
RGBrgb(236, 255, 156)
HSLhsl(72, 100%, 81%)
HSVhsv(72, 39%, 100%)
CMYKcmyk(7.5%, 0%, 38.8%, 0%)
CIE-LABlab(96.72, -21.06, 45.22)
CIE-LCHlch(96.72, 49.88, 114.97°)
OKLaboklab(96.43% -0.058 0.1105)
OKLCHoklch(96.43% 0.125 117.7)
XYZxyz(76.3531, 91.7537, 45.1339)
Luminance0.9175 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFF9C #AF9CFF
analogous
#FFE09C #ECFF9C #BAFF9C
triadic
#ECFF9C #9CECFF #FF9CEC
tetradic
#ECFF9C #9CFFE0 #AF9CFF #FF9CBA
square
#ECFF9C #9CFFE0 #AF9CFF #FF9CBA
split-complementary
#ECFF9C #9CBAFF #E09CFF
monochromatic
#D5FF22 #E0FF5F #ECFF9C #F8FFD9 #F9FFE0

Accessibility & contrast

On white

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

On black

19.35
#ECFF9C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFF9C
19.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFF9C#FFFFFF#000000##000000
##ECFF9C1.001.0919.3519.35
#FFFFFF1.091.0021.0021.00
#00000019.3521.001.001.00
##00000019.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF595
Deuteranopia (green-blind)
#FFF6A1
Tritanopia (blue-blind)
#F5F5E7
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #ecff9c;
/* rgb */ color: rgb(236, 255, 156);
/* oklch */ color: oklch(96.4% 0.125 117.7);
Tailwind
colors: {
  custom: {
    50: '#f3ffba',
    500: '#ecff9c',
    950: '#000000',
  },
}
SCSS
$custom: #ecff9c;
$custom-light: #f3ffba;
$custom-dark: #000000;
JSON
{
  "hex": "#ecff9c",
  "rgb": {
    "r": 236,
    "g": 255,
    "b": 156
  },
  "hsl": {
    "h": 71.515,
    "s": 100,
    "l": 80.588
  },
  "oklch": {
    "l": 0.96433,
    "c": 0.12478,
    "h": 117.7
  },
  "luminance": 0.91753
}

Semantic roles & 50–950 ramp

primary
#ECFF9C
secondary
#765DE2
accent
#00E62C
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171812
muted
#858682

Preview Lab

Preview with #ECFF9C

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

Preview Lab → · Contrast checker → · Palette generator →

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