#ECFC7F#ECFC7F

#ECFC7F is a very light, vivid yellow. Relative luminance 0.890; OKLCH L 95.4% C 0.151 H 115.3°. Best body text is #000000 at 18.80:1 contrast (WCAG AA passes).

Color values

HEX#ECFC7F
RGBrgb(236, 252, 127)
HSLhsl(68, 95%, 74%)
HSVhsv(68, 50%, 99%)
CMYKcmyk(6.3%, 0%, 49.6%, 1.2%)
CIE-LABlab(95.57, -22.54, 57.50)
CIE-LCHlch(95.57, 61.76, 111.41°)
OKLaboklab(95.4% -0.0644 0.1361)
OKLCHoklch(95.4% 0.151 115.3)
XYZxyz(73.2343, 88.9869, 33.3928)
Luminance0.8899 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFC7F #8F7FFC
analogous
#FCCE7F #ECFC7F #AEFC7F
triadic
#ECFC7F #7FECFC #FC7FEC
tetradic
#ECFC7F #7FFCCE #8F7FFC #FC7FAE
square
#ECFC7F #7FFCCE #8F7FFC #FC7FAE
split-complementary
#ECFC7F #7FAEFC #CE7FFC
monochromatic
#DAF907 #E3FB43 #ECFC7F #F5FDBB #FBFEE1

Accessibility & contrast

On white

1.12
#ECFC7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.80
#ECFC7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFC7F
18.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFC7F#FFFFFF#000000##000000
##ECFC7F1.001.1218.8018.80
#FFFFFF1.121.0021.0021.00
#00000018.8021.001.001.00
##00000018.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF174
Deuteranopia (green-blind)
#FFF386
Tritanopia (blue-blind)
#F8F0DF
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #ecfc7f;
/* rgb */ color: rgb(236, 252, 127);
/* oklch */ color: oklch(95.4% 0.151 115.3);
Tailwind
colors: {
  custom: {
    50: '#f4fda7',
    500: '#ecfc7f',
    950: '#000000',
  },
}
SCSS
$custom: #ecfc7f;
$custom-light: #f4fda7;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfc7f",
  "rgb": {
    "r": 236,
    "g": 252,
    "b": 127
  },
  "hsl": {
    "h": 67.68,
    "s": 95.42,
    "l": 74.314
  },
  "oklch": {
    "l": 0.95402,
    "c": 0.15055,
    "h": 115.3
  },
  "luminance": 0.88986
}

Semantic roles & 50–950 ramp

primary
#ECFC7F
secondary
#5845DA
accent
#00E61D
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #ECFC7F

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

Preview Lab → · Contrast checker → · Palette generator →

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