#ECFC7E#ECFC7E

#ECFC7E 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.79:1 contrast (WCAG AA passes).

Color values

HEX#ECFC7E
RGBrgb(236, 252, 126)
HSLhsl(68, 95%, 74%)
HSVhsv(68, 50%, 99%)
CMYKcmyk(6.3%, 0%, 50%, 1.2%)
CIE-LABlab(95.56, -22.63, 57.94)
CIE-LCHlch(95.56, 62.20, 111.34°)
OKLaboklab(95.39% -0.0648 0.1369)
OKLCHoklch(95.39% 0.151 115.3)
XYZxyz(73.1695, 88.9610, 33.0513)
Luminance0.8896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFC7E #8E7EFC
analogous
#FCCD7E #ECFC7E #ADFC7E
triadic
#ECFC7E #7EECFC #FC7EEC
tetradic
#ECFC7E #7EFCCD #8E7EFC #FC7EAD
square
#ECFC7E #7EFCCD #8E7EFC #FC7EAD
split-complementary
#ECFC7E #7EADFC #CD7EFC
monochromatic
#DAF906 #E3FB42 #ECFC7E #F5FDBA #FBFEE1

Accessibility & contrast

On white

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

On black

18.79
#ECFC7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFC7E
18.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFC7E#FFFFFF#000000##000000
##ECFC7E1.001.1218.7918.79
#FFFFFF1.121.0021.0021.00
#00000018.7921.001.001.00
##00000018.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecfc7e;
/* rgb */ color: rgb(236, 252, 126);
/* oklch */ color: oklch(95.4% 0.151 115.3);
Tailwind
colors: {
  custom: {
    50: '#f4fda6',
    500: '#ecfc7e',
    950: '#000000',
  },
}
SCSS
$custom: #ecfc7e;
$custom-light: #f4fda6;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfc7e",
  "rgb": {
    "r": 236,
    "g": 252,
    "b": 126
  },
  "hsl": {
    "h": 67.619,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.9539,
    "c": 0.15149,
    "h": 115.3
  },
  "luminance": 0.8896
}

Semantic roles & 50–950 ramp

primary
#ECFC7E
secondary
#5744DA
accent
#00E61D
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#171710
muted
#858580

Preview Lab

Preview with #ECFC7E

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

Preview Lab → · Contrast checker → · Palette generator →

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