#ECFC96#ECFC96

#ECFC96 is a very light, vivid yellow. Relative luminance 0.897; OKLCH L 95.7% C 0.127 H 116.2°. Best body text is #000000 at 18.93:1 contrast (WCAG AA passes).

Color values

HEX#ECFC96
RGBrgb(236, 252, 150)
HSLhsl(69, 94%, 79%)
HSVhsv(69, 40%, 99%)
CMYKcmyk(6.3%, 0%, 40.5%, 1.2%)
CIE-LABlab(95.85, -20.28, 47.02)
CIE-LCHlch(95.85, 51.21, 113.33°)
OKLaboklab(95.71% -0.0561 0.1143)
OKLCHoklch(95.71% 0.127 116.2)
XYZxyz(74.9080, 89.6564, 42.2075)
Luminance0.8966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFC96 #A696FC
analogous
#FCD996 #ECFC96 #B9FC96
triadic
#ECFC96 #96ECFC #FC96EC
tetradic
#ECFC96 #96FCD9 #A696FC #FC96B9
square
#ECFC96 #96FCD9 #A696FC #FC96B9
split-complementary
#ECFC96 #96B9FC #D996FC
monochromatic
#D6F91F #E1FA5B #ECFC96 #F7FED2 #FAFEE1

Accessibility & contrast

On white

1.11
#ECFC96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.93
#ECFC96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFC96
18.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFC96#FFFFFF#000000##000000
##ECFC961.001.1118.9318.93
#FFFFFF1.111.0021.0021.00
#00000018.9321.001.001.00
##00000018.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF28E
Deuteranopia (green-blind)
#FFF49B
Tritanopia (blue-blind)
#F6F2E3
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #ecfc96;
/* rgb */ color: rgb(236, 252, 150);
/* oklch */ color: oklch(95.7% 0.127 116.2);
Tailwind
colors: {
  custom: {
    50: '#f3fdb6',
    500: '#ecfc96',
    950: '#000000',
  },
}
SCSS
$custom: #ecfc96;
$custom-light: #f3fdb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfc96",
  "rgb": {
    "r": 236,
    "g": 252,
    "b": 150
  },
  "hsl": {
    "h": 69.412,
    "s": 94.444,
    "l": 78.824
  },
  "oklch": {
    "l": 0.95715,
    "c": 0.12735,
    "h": 116.2
  },
  "luminance": 0.89656
}

Semantic roles & 50–950 ramp

primary
#ECFC96
secondary
#6E59DD
accent
#00E624
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECFC96

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

Preview Lab → · Contrast checker → · Palette generator →

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