#ECFD79#ECFD79

#ECFD79 is a very light, vivid yellow. Relative luminance 0.895; OKLCH L 95.5% C 0.157 H 115.5°. Best body text is #000000 at 18.89:1 contrast (WCAG AA passes).

Color values

HEX#ECFD79
RGBrgb(236, 253, 121)
HSLhsl(68, 97%, 73%)
HSVhsv(68, 52%, 99%)
CMYKcmyk(6.7%, 0%, 52.2%, 0.8%)
CIE-LABlab(95.77, -23.54, 60.44)
CIE-LCHlch(95.77, 64.86, 111.28°)
OKLaboklab(95.54% -0.0678 0.1419)
OKLCHoklch(95.54% 0.157 115.5)
XYZxyz(73.1697, 89.4648, 31.4993)
Luminance0.8946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFD79 #8A79FD
analogous
#FDCC79 #ECFD79 #AAFD79
triadic
#ECFD79 #79ECFD #FD79EC
tetradic
#ECFD79 #79FDCC #8A79FD #FD79AA
square
#ECFD79 #79FDCC #8A79FD #FD79AA
split-complementary
#ECFD79 #79AAFD #CC79FD
monochromatic
#D8F804 #E3FC3D #ECFD79 #F5FEB5 #FBFFE1

Accessibility & contrast

On white

1.11
#ECFD79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.89
#ECFD79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFD79
18.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFD79#FFFFFF#000000##000000
##ECFD791.001.1118.8918.89
#FFFFFF1.111.0021.0021.00
#00000018.8921.001.001.00
##00000018.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF26C
Deuteranopia (green-blind)
#FFF480
Tritanopia (blue-blind)
#F9F1DF
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #ecfd79;
/* rgb */ color: rgb(236, 253, 121);
/* oklch */ color: oklch(95.5% 0.157 115.5);
Tailwind
colors: {
  custom: {
    50: '#f4fea3',
    500: '#ecfd79',
    950: '#000000',
  },
}
SCSS
$custom: #ecfd79;
$custom-light: #f4fea3;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfd79",
  "rgb": {
    "r": 236,
    "g": 253,
    "b": 121
  },
  "hsl": {
    "h": 67.727,
    "s": 97.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.95541,
    "c": 0.1573,
    "h": 115.5
  },
  "luminance": 0.89464
}

Semantic roles & 50–950 ramp

primary
#ECFD79
secondary
#5440DA
accent
#00E61E
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #ECFD79

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

Preview Lab → · Contrast checker → · Palette generator →

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