#ECFC7D#ECFC7D

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

Color values

HEX#ECFC7D
RGBrgb(236, 252, 125)
HSLhsl(68, 95%, 74%)
HSVhsv(68, 50%, 99%)
CMYKcmyk(6.3%, 0%, 50.4%, 1.2%)
CIE-LABlab(95.55, -22.72, 58.38)
CIE-LCHlch(95.55, 62.65, 111.26°)
OKLaboklab(95.38% -0.0651 0.1378)
OKLCHoklch(95.38% 0.152 115.3)
XYZxyz(73.1053, 88.9353, 32.7131)
Luminance0.8893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFC7D #8D7DFC
analogous
#FCCD7D #ECFC7D #ADFC7D
triadic
#ECFC7D #7DECFC #FC7DEC
tetradic
#ECFC7D #7DFCCD #8D7DFC #FC7DAD
square
#ECFC7D #7DFCCD #8D7DFC #FC7DAD
split-complementary
#ECFC7D #7DADFC #CD7DFC
monochromatic
#DAF906 #E3FB41 #ECFC7D #F5FDB9 #FBFEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECFC7D#FFFFFF#000000##000000
##ECFC7D1.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)
#FFF171
Deuteranopia (green-blind)
#FFF384
Tritanopia (blue-blind)
#F8F0DF
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #ecfc7d;
/* rgb */ color: rgb(236, 252, 125);
/* oklch */ color: oklch(95.4% 0.152 115.3);
Tailwind
colors: {
  custom: {
    50: '#f4fda6',
    500: '#ecfc7d',
    950: '#000000',
  },
}
SCSS
$custom: #ecfc7d;
$custom-light: #f4fda6;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfc7d",
  "rgb": {
    "r": 236,
    "g": 252,
    "b": 125
  },
  "hsl": {
    "h": 67.559,
    "s": 95.489,
    "l": 73.922
  },
  "oklch": {
    "l": 0.95378,
    "c": 0.15243,
    "h": 115.3
  },
  "luminance": 0.88934
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECFC7D

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

Preview Lab → · Contrast checker → · Palette generator →

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