#ECFD71#ECFD71

#ECFD71 is a very light, vivid yellow. Relative luminance 0.893; OKLCH L 95.5% C 0.164 H 115.4°. Best body text is #000000 at 18.86:1 contrast (WCAG AA passes).

Color values

HEX#ECFD71
RGBrgb(236, 253, 113)
HSLhsl(67, 97%, 72%)
HSVhsv(67, 55%, 99%)
CMYKcmyk(6.7%, 0%, 55.3%, 0.8%)
CIE-LABlab(95.70, -24.18, 63.87)
CIE-LCHlch(95.70, 68.29, 110.74°)
OKLaboklab(95.45% -0.0704 0.1485)
OKLCHoklch(95.45% 0.164 115.4)
XYZxyz(72.6993, 89.2767, 29.0219)
Luminance0.8928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFD71 #8271FD
analogous
#FDC871 #ECFD71 #A6FD71
triadic
#ECFD71 #71ECFD #FD71EC
tetradic
#ECFD71 #71FDC8 #8271FD #FD71A6
square
#ECFD71 #71FDC8 #8271FD #FD71A6
split-complementary
#ECFD71 #71A6FD #C871FD
monochromatic
#D3F003 #E4FC35 #ECFD71 #F4FEAD #FBFFE1

Accessibility & contrast

On white

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

On black

18.86
#ECFD71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFD71
18.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFD71#FFFFFF#000000##000000
##ECFD711.001.1118.8618.86
#FFFFFF1.111.0021.0021.00
#00000018.8621.001.001.00
##00000018.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF262
Deuteranopia (green-blind)
#FFF479
Tritanopia (blue-blind)
#F9F0DE
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #ecfd71;
/* rgb */ color: rgb(236, 253, 113);
/* oklch */ color: oklch(95.5% 0.164 115.4);
Tailwind
colors: {
  custom: {
    50: '#f5fe9e',
    500: '#ecfd71',
    950: '#000000',
  },
}
SCSS
$custom: #ecfd71;
$custom-light: #f5fe9e;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfd71",
  "rgb": {
    "r": 236,
    "g": 253,
    "b": 113
  },
  "hsl": {
    "h": 67.286,
    "s": 97.222,
    "l": 71.765
  },
  "oklch": {
    "l": 0.95453,
    "c": 0.16435,
    "h": 115.4
  },
  "luminance": 0.89276
}

Semantic roles & 50–950 ramp

primary
#ECFD71
secondary
#4C39D9
accent
#00E61C
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #ECFD71

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

Preview Lab → · Contrast checker → · Palette generator →

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