#ECFC77#ECFC77

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

Color values

HEX#ECFC77
RGBrgb(236, 252, 119)
HSLhsl(67, 96%, 73%)
HSVhsv(67, 53%, 99%)
CMYKcmyk(6.3%, 0%, 52.8%, 1.2%)
CIE-LABlab(95.49, -23.23, 61.00)
CIE-LCHlch(95.49, 65.27, 110.85°)
OKLaboklab(95.31% -0.0671 0.143)
OKLCHoklch(95.31% 0.158 115.2)
XYZxyz(72.7335, 88.7866, 30.7551)
Luminance0.8879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFC77 #8777FC
analogous
#FCC977 #ECFC77 #A9FC77
triadic
#ECFC77 #77ECFC #FC77EC
tetradic
#ECFC77 #77FCC9 #8777FC #FC77A9
square
#ECFC77 #77FCC9 #8777FC #FC77A9
split-complementary
#ECFC77 #77A9FC #C977FC
monochromatic
#D7F305 #E4FB3B #ECFC77 #F4FDB3 #FBFEE1

Accessibility & contrast

On white

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

On black

18.76
#ECFC77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFC77
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFC77#FFFFFF#000000##000000
##ECFC771.001.1218.7618.76
#FFFFFF1.121.0021.0021.00
#00000018.7621.001.001.00
##00000018.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF16A
Deuteranopia (green-blind)
#FFF37F
Tritanopia (blue-blind)
#F9F0DE
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #ecfc77;
/* rgb */ color: rgb(236, 252, 119);
/* oklch */ color: oklch(95.3% 0.158 115.2);
Tailwind
colors: {
  custom: {
    50: '#f4fda2',
    500: '#ecfc77',
    950: '#000000',
  },
}
SCSS
$custom: #ecfc77;
$custom-light: #f4fda2;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfc77",
  "rgb": {
    "r": 236,
    "g": 252,
    "b": 119
  },
  "hsl": {
    "h": 67.218,
    "s": 95.683,
    "l": 72.745
  },
  "oklch": {
    "l": 0.95308,
    "c": 0.15793,
    "h": 115.2
  },
  "luminance": 0.88786
}

Semantic roles & 50–950 ramp

primary
#ECFC77
secondary
#513ED9
accent
#00E61C
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #ECFC77

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

Preview Lab → · Contrast checker → · Palette generator →

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