#ECFC71#ECFC71

#ECFC71 is a very light, vivid yellow. Relative luminance 0.886; OKLCH L 95.2% C 0.163 H 115.0°. Best body text is #000000 at 18.73:1 contrast (WCAG AA passes).

Color values

HEX#ECFC71
RGBrgb(236, 252, 113)
HSLhsl(67, 96%, 72%)
HSVhsv(67, 55%, 99%)
CMYKcmyk(6.3%, 0%, 55.2%, 1.2%)
CIE-LABlab(95.43, -23.71, 63.57)
CIE-LCHlch(95.43, 67.85, 110.45°)
OKLaboklab(95.24% -0.0691 0.1479)
OKLCHoklch(95.24% 0.163 115)
XYZxyz(72.3845, 88.6470, 28.9170)
Luminance0.8865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFC71 #8171FC
analogous
#FCC671 #ECFC71 #A7FC71
triadic
#ECFC71 #71ECFC #FC71EC
tetradic
#ECFC71 #71FCC6 #8171FC #FC71A7
square
#ECFC71 #71FCC6 #8171FC #FC71A7
split-complementary
#ECFC71 #71A7FC #C671FC
monochromatic
#D3EE05 #E4FB35 #ECFC71 #F4FDAD #FBFEE1

Accessibility & contrast

On white

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

On black

18.73
#ECFC71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFC71
18.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFC71#FFFFFF#000000##000000
##ECFC711.001.1218.7318.73
#FFFFFF1.121.0021.0021.00
#00000018.7321.001.001.00
##00000018.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF163
Deuteranopia (green-blind)
#FFF379
Tritanopia (blue-blind)
#F9EFDE
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #ecfc71;
/* rgb */ color: rgb(236, 252, 113);
/* oklch */ color: oklch(95.2% 0.163 115.0);
Tailwind
colors: {
  custom: {
    50: '#f5fd9e',
    500: '#ecfc71',
    950: '#000000',
  },
}
SCSS
$custom: #ecfc71;
$custom-light: #f5fd9e;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfc71",
  "rgb": {
    "r": 236,
    "g": 252,
    "b": 113
  },
  "hsl": {
    "h": 66.906,
    "s": 95.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.95242,
    "c": 0.1632,
    "h": 115
  },
  "luminance": 0.88646
}

Semantic roles & 50–950 ramp

primary
#ECFC71
secondary
#4B39D8
accent
#00E61A
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #ECFC71

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

Preview Lab → · Contrast checker → · Palette generator →

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