#ECFF7F#ECFF7F

#ECFF7F is a very light, vivid yellow. Relative luminance 0.909; OKLCH L 96.0% C 0.154 H 116.4°. Best body text is #000000 at 19.18:1 contrast (WCAG AA passes).

Color values

HEX#ECFF7F
RGBrgb(236, 255, 127)
HSLhsl(69, 100%, 75%)
HSVhsv(69, 50%, 100%)
CMYKcmyk(7.5%, 0%, 50.2%, 0%)
CIE-LABlab(96.36, -23.97, 58.43)
CIE-LCHlch(96.36, 63.16, 112.30°)
OKLaboklab(96.03% -0.0685 0.1381)
OKLCHoklch(96.03% 0.154 116.4)
XYZxyz(74.1839, 90.8860, 33.7093)
Luminance0.9089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFF7F #927FFF
analogous
#FFD27F #ECFF7F #ACFF7F
triadic
#ECFF7F #7FECFF #FF7FEC
tetradic
#ECFF7F #7FFFD2 #927FFF #FF7FAC
square
#ECFF7F #7FFFD2 #927FFF #FF7FAC
split-complementary
#ECFF7F #7FACFF #D27FFF
monochromatic
#DAFF05 #E3FF42 #ECFF7F #F5FFBC #FAFFE0

Accessibility & contrast

On white

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

On black

19.18
#ECFF7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFF7F
19.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFF7F#FFFFFF#000000##000000
##ECFF7F1.001.1019.1819.18
#FFFFFF1.101.0021.0021.00
#00000019.1821.001.001.00
##00000019.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF473
Deuteranopia (green-blind)
#FFF686
Tritanopia (blue-blind)
#F8F3E2
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #ecff7f;
/* rgb */ color: rgb(236, 255, 127);
/* oklch */ color: oklch(96.0% 0.154 116.4);
Tailwind
colors: {
  custom: {
    50: '#f4ffa7',
    500: '#ecff7f',
    950: '#000000',
  },
}
SCSS
$custom: #ecff7f;
$custom-light: #f4ffa7;
$custom-dark: #000000;
JSON
{
  "hex": "#ecff7f",
  "rgb": {
    "r": 236,
    "g": 255,
    "b": 127
  },
  "hsl": {
    "h": 68.906,
    "s": 100,
    "l": 74.902
  },
  "oklch": {
    "l": 0.96032,
    "c": 0.15414,
    "h": 116.4
  },
  "luminance": 0.90885
}

Semantic roles & 50–950 ramp

primary
#ECFF7F
secondary
#5B44DE
accent
#00E622
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171810
muted
#858681

Preview Lab

Preview with #ECFF7F

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

Preview Lab → · Contrast checker → · Palette generator →

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