#ECFD7E#ECFD7E

#ECFD7E is a very light, vivid yellow. Relative luminance 0.896; OKLCH L 95.6% C 0.153 H 115.7°. Best body text is #000000 at 18.92:1 contrast (WCAG AA passes).

Color values

HEX#ECFD7E
RGBrgb(236, 253, 126)
HSLhsl(68, 97%, 74%)
HSVhsv(68, 50%, 99%)
CMYKcmyk(6.7%, 0%, 50.2%, 0.8%)
CIE-LABlab(95.83, -23.11, 58.25)
CIE-LCHlch(95.83, 62.67, 111.64°)
OKLaboklab(95.6% -0.0661 0.1376)
OKLCHoklch(95.6% 0.153 115.7)
XYZxyz(73.4843, 89.5907, 33.1562)
Luminance0.8959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFD7E #8F7EFD
analogous
#FDCE7E #ECFD7E #ADFD7E
triadic
#ECFD7E #7EECFD #FD7EEC
tetradic
#ECFD7E #7EFDCE #8F7EFD #FD7EAD
square
#ECFD7E #7EFDCE #8F7EFD #FD7EAD
split-complementary
#ECFD7E #7EADFD #CE7EFD
monochromatic
#DAFB05 #E3FC42 #ECFD7E #F5FEBA #FBFFE1

Accessibility & contrast

On white

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

On black

18.92
#ECFD7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFD7E
18.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFD7E#FFFFFF#000000##000000
##ECFD7E1.001.1118.9218.92
#FFFFFF1.111.0021.0021.00
#00000018.9221.001.001.00
##00000018.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF272
Deuteranopia (green-blind)
#FFF485
Tritanopia (blue-blind)
#F8F1E0
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #ecfd7e;
/* rgb */ color: rgb(236, 253, 126);
/* oklch */ color: oklch(95.6% 0.153 115.7);
Tailwind
colors: {
  custom: {
    50: '#f4fea6',
    500: '#ecfd7e',
    950: '#000000',
  },
}
SCSS
$custom: #ecfd7e;
$custom-light: #f4fea6;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfd7e",
  "rgb": {
    "r": 236,
    "g": 253,
    "b": 126
  },
  "hsl": {
    "h": 68.031,
    "s": 96.947,
    "l": 74.314
  },
  "oklch": {
    "l": 0.956,
    "c": 0.15268,
    "h": 115.7
  },
  "luminance": 0.8959
}

Semantic roles & 50–950 ramp

primary
#ECFD7E
secondary
#5844DB
accent
#00E61F
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#171710
muted
#858580

Preview Lab

Preview with #ECFD7E

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

Preview Lab → · Contrast checker → · Palette generator →

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