#ECFC6F#ECFC6F

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

Color values

HEX#ECFC6F
RGBrgb(236, 252, 111)
HSLhsl(67, 96%, 71%)
HSVhsv(67, 56%, 99%)
CMYKcmyk(6.3%, 0%, 56%, 1.2%)
CIE-LABlab(95.41, -23.86, 64.41)
CIE-LCHlch(95.41, 68.69, 110.33°)
OKLaboklab(95.22% -0.0697 0.1495)
OKLCHoklch(95.22% 0.165 115)
XYZxyz(72.2731, 88.6024, 28.3305)
Luminance0.8860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFC6F #7F6FFC
analogous
#FCC66F #ECFC6F #A5FC6F
triadic
#ECFC6F #6FECFC #FC6FEC
tetradic
#ECFC6F #6FFCC6 #7F6FFC #FC6FA5
square
#ECFC6F #6FFCC6 #7F6FFC #FC6FA5
split-complementary
#ECFC6F #6FA5FC #C66FFC
monochromatic
#D1EC05 #E4FB33 #ECFC6F #F4FDAB #FBFEE1

Accessibility & contrast

On white

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

On black

18.72
#ECFC6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFC6F
18.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFC6F#FFFFFF#000000##000000
##ECFC6F1.001.1218.7218.72
#FFFFFF1.121.0021.0021.00
#00000018.7221.001.001.00
##00000018.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF160
Deuteranopia (green-blind)
#FFF377
Tritanopia (blue-blind)
#F9EFDD
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #ecfc6f;
/* rgb */ color: rgb(236, 252, 111);
/* oklch */ color: oklch(95.2% 0.165 115.0);
Tailwind
colors: {
  custom: {
    50: '#f5fd9d',
    500: '#ecfc6f',
    950: '#000000',
  },
}
SCSS
$custom: #ecfc6f;
$custom-light: #f5fd9d;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfc6f",
  "rgb": {
    "r": 236,
    "g": 252,
    "b": 111
  },
  "hsl": {
    "h": 66.809,
    "s": 95.918,
    "l": 71.176
  },
  "oklch": {
    "l": 0.95221,
    "c": 0.16491,
    "h": 115
  },
  "luminance": 0.88601
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECFC6F

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

Preview Lab → · Contrast checker → · Palette generator →

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