#ECFD78#ECFD78

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

Color values

HEX#ECFD78
RGBrgb(236, 253, 120)
HSLhsl(68, 97%, 73%)
HSVhsv(68, 53%, 99%)
CMYKcmyk(6.7%, 0%, 52.6%, 0.8%)
CIE-LABlab(95.76, -23.62, 60.87)
CIE-LCHlch(95.76, 65.30, 111.21°)
OKLaboklab(95.53% -0.0681 0.1428)
OKLCHoklch(95.53% 0.158 115.5)
XYZxyz(73.1087, 89.4404, 31.1781)
Luminance0.8944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFD78 #8978FD
analogous
#FDCB78 #ECFD78 #A9FD78
triadic
#ECFD78 #78ECFD #FD78EC
tetradic
#ECFD78 #78FDCB #8978FD #FD78A9
square
#ECFD78 #78FDCB #8978FD #FD78A9
split-complementary
#ECFD78 #78A9FD #CB78FD
monochromatic
#D8F704 #E4FC3C #ECFD78 #F4FEB4 #FBFFE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECFD78#FFFFFF#000000##000000
##ECFD781.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)
#FFF26B
Deuteranopia (green-blind)
#FFF480
Tritanopia (blue-blind)
#F9F1DF
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #ecfd78;
/* rgb */ color: rgb(236, 253, 120);
/* oklch */ color: oklch(95.5% 0.158 115.5);
Tailwind
colors: {
  custom: {
    50: '#f4fea2',
    500: '#ecfd78',
    950: '#000000',
  },
}
SCSS
$custom: #ecfd78;
$custom-light: #f4fea2;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfd78",
  "rgb": {
    "r": 236,
    "g": 253,
    "b": 120
  },
  "hsl": {
    "h": 67.669,
    "s": 97.08,
    "l": 73.137
  },
  "oklch": {
    "l": 0.95529,
    "c": 0.1582,
    "h": 115.5
  },
  "luminance": 0.89439
}

Semantic roles & 50–950 ramp

primary
#ECFD78
secondary
#533FDA
accent
#00E61D
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #ECFD78

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

Preview Lab → · Contrast checker → · Palette generator →

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