#ECFD7F#ECFD7F

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

Color values

HEX#ECFD7F
RGBrgb(236, 253, 127)
HSLhsl(68, 97%, 75%)
HSVhsv(68, 50%, 99%)
CMYKcmyk(6.7%, 0%, 49.8%, 0.8%)
CIE-LABlab(95.84, -23.02, 57.81)
CIE-LCHlch(95.84, 62.22, 111.71°)
OKLaboklab(95.61% -0.0658 0.1367)
OKLCHoklch(95.61% 0.152 115.7)
XYZxyz(73.5492, 89.6166, 33.4977)
Luminance0.8962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFD7F #907FFD
analogous
#FDCF7F #ECFD7F #ADFD7F
triadic
#ECFD7F #7FECFD #FD7FEC
tetradic
#ECFD7F #7FFDCF #907FFD #FD7FAD
square
#ECFD7F #7FFDCF #907FFD #FD7FAD
split-complementary
#ECFD7F #7FADFD #CF7FFD
monochromatic
#DAFB06 #E3FC43 #ECFD7F #F5FEBB #FBFFE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECFD7F#FFFFFF#000000##000000
##ECFD7F1.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)
#FFF273
Deuteranopia (green-blind)
#FFF486
Tritanopia (blue-blind)
#F8F1E0
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #ecfd7f;
/* rgb */ color: rgb(236, 253, 127);
/* oklch */ color: oklch(95.6% 0.152 115.7);
Tailwind
colors: {
  custom: {
    50: '#f4fea7',
    500: '#ecfd7f',
    950: '#000000',
  },
}
SCSS
$custom: #ecfd7f;
$custom-light: #f4fea7;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfd7f",
  "rgb": {
    "r": 236,
    "g": 253,
    "b": 127
  },
  "hsl": {
    "h": 68.095,
    "s": 96.923,
    "l": 74.51
  },
  "oklch": {
    "l": 0.95612,
    "c": 0.15174,
    "h": 115.7
  },
  "luminance": 0.89616
}

Semantic roles & 50–950 ramp

primary
#ECFD7F
secondary
#5945DB
accent
#00E61F
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #ECFD7F

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

Preview Lab → · Contrast checker → · Palette generator →

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