#ECFC79#ECFC79

#ECFC79 is a very light, vivid yellow. Relative luminance 0.888; OKLCH L 95.3% C 0.156 H 115.2°. Best body text is #000000 at 18.77:1 contrast (WCAG AA passes).

Color values

HEX#ECFC79
RGBrgb(236, 252, 121)
HSLhsl(67, 96%, 73%)
HSVhsv(67, 52%, 99%)
CMYKcmyk(6.3%, 0%, 52%, 1.2%)
CIE-LABlab(95.51, -23.06, 60.13)
CIE-LCHlch(95.51, 64.40, 110.98°)
OKLaboklab(95.33% -0.0665 0.1413)
OKLCHoklch(95.33% 0.156 115.2)
XYZxyz(72.8549, 88.8351, 31.3944)
Luminance0.8883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFC79 #8979FC
analogous
#FCCA79 #ECFC79 #AAFC79
triadic
#ECFC79 #79ECFC #FC79EC
tetradic
#ECFC79 #79FCCA #8979FC #FC79AA
square
#ECFC79 #79FCCA #8979FC #FC79AA
split-complementary
#ECFC79 #79AAFC #CA79FC
monochromatic
#D8F505 #E4FB3D #ECFC79 #F4FDB5 #FBFEE1

Accessibility & contrast

On white

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

On black

18.77
#ECFC79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFC79
18.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFC79#FFFFFF#000000##000000
##ECFC791.001.1218.7718.77
#FFFFFF1.121.0021.0021.00
#00000018.7721.001.001.00
##00000018.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF16C
Deuteranopia (green-blind)
#FFF380
Tritanopia (blue-blind)
#F9F0DF
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #ecfc79;
/* rgb */ color: rgb(236, 252, 121);
/* oklch */ color: oklch(95.3% 0.156 115.2);
Tailwind
colors: {
  custom: {
    50: '#f4fda3',
    500: '#ecfc79',
    950: '#000000',
  },
}
SCSS
$custom: #ecfc79;
$custom-light: #f4fda3;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfc79",
  "rgb": {
    "r": 236,
    "g": 252,
    "b": 121
  },
  "hsl": {
    "h": 67.328,
    "s": 95.62,
    "l": 73.137
  },
  "oklch": {
    "l": 0.95331,
    "c": 0.15612,
    "h": 115.2
  },
  "luminance": 0.88834
}

Semantic roles & 50–950 ramp

primary
#ECFC79
secondary
#5340D9
accent
#00E61C
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #ECFC79

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

Preview Lab → · Contrast checker → · Palette generator →

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