#ECFD96#ECFD96

#ECFD96 is a very light, vivid yellow. Relative luminance 0.903; OKLCH L 95.9% C 0.129 H 116.6°. Best body text is #000000 at 19.06:1 contrast (WCAG AA passes).

Color values

HEX#ECFD96
RGBrgb(236, 253, 150)
HSLhsl(70, 96%, 79%)
HSVhsv(70, 41%, 99%)
CMYKcmyk(6.7%, 0%, 40.7%, 0.8%)
CIE-LABlab(96.12, -20.76, 47.35)
CIE-LCHlch(96.12, 51.70, 113.67°)
OKLaboklab(95.92% -0.0575 0.1151)
OKLCHoklch(95.92% 0.129 116.6)
XYZxyz(75.2228, 90.2861, 42.3124)
Luminance0.9029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFD96 #A796FD
analogous
#FDDB96 #ECFD96 #B9FD96
triadic
#ECFD96 #96ECFD #FD96EC
tetradic
#ECFD96 #96FDDB #A796FD #FD96B9
square
#ECFD96 #96FDDB #A796FD #FD96B9
split-complementary
#ECFD96 #96B9FD #DB96FD
monochromatic
#D6FB1E #E1FC5A #ECFD96 #F7FED2 #FAFEE1

Accessibility & contrast

On white

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

On black

19.06
#ECFD96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFD96
19.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFD96#FFFFFF#000000##000000
##ECFD961.001.1019.0619.06
#FFFFFF1.101.0021.0021.00
#00000019.0621.001.001.00
##00000019.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecfd96;
/* rgb */ color: rgb(236, 253, 150);
/* oklch */ color: oklch(95.9% 0.129 116.6);
Tailwind
colors: {
  custom: {
    50: '#f3feb6',
    500: '#ecfd96',
    950: '#000000',
  },
}
SCSS
$custom: #ecfd96;
$custom-light: #f3feb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfd96",
  "rgb": {
    "r": 236,
    "g": 253,
    "b": 150
  },
  "hsl": {
    "h": 69.903,
    "s": 96.262,
    "l": 79.02
  },
  "oklch": {
    "l": 0.95924,
    "c": 0.12863,
    "h": 116.6
  },
  "luminance": 0.90285
}

Semantic roles & 50–950 ramp

primary
#ECFD96
secondary
#6F59DF
accent
#00E626
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECFD96

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

Preview Lab → · Contrast checker → · Palette generator →

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