#ECFC8F#ECFC8F

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

Color values

HEX#ECFC8F
RGBrgb(236, 252, 143)
HSLhsl(69, 95%, 77%)
HSVhsv(69, 43%, 99%)
CMYKcmyk(6.3%, 0%, 43.3%, 1.2%)
CIE-LABlab(95.76, -21.01, 50.26)
CIE-LCHlch(95.76, 54.48, 112.69°)
OKLaboklab(95.61% -0.0587 0.1212)
OKLCHoklch(95.61% 0.135 115.9)
XYZxyz(74.3611, 89.4376, 39.3271)
Luminance0.8944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFC8F #9F8FFC
analogous
#FCD58F #ECFC8F #B6FC8F
triadic
#ECFC8F #8FECFC #FC8FEC
tetradic
#ECFC8F #8FFCD5 #9F8FFC #FC8FB6
square
#ECFC8F #8FFCD5 #9F8FFC #FC8FB6
split-complementary
#ECFC8F #8FB6FC #D58FFC
monochromatic
#D8F918 #E2FA53 #ECFC8F #F6FECB #FAFEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECFC8F#FFFFFF#000000##000000
##ECFC8F1.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)
#FFF286
Deuteranopia (green-blind)
#FFF494
Tritanopia (blue-blind)
#F7F1E2
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #ecfc8f;
/* rgb */ color: rgb(236, 252, 143);
/* oklch */ color: oklch(95.6% 0.135 115.9);
Tailwind
colors: {
  custom: {
    50: '#f4fdb1',
    500: '#ecfc8f',
    950: '#000000',
  },
}
SCSS
$custom: #ecfc8f;
$custom-light: #f4fdb1;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfc8f",
  "rgb": {
    "r": 236,
    "g": 252,
    "b": 143
  },
  "hsl": {
    "h": 68.807,
    "s": 94.783,
    "l": 77.451
  },
  "oklch": {
    "l": 0.95613,
    "c": 0.13471,
    "h": 115.9
  },
  "luminance": 0.89437
}

Semantic roles & 50–950 ramp

primary
#ECFC8F
secondary
#6753DC
accent
#00E622
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECFC8F

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

Preview Lab → · Contrast checker → · Palette generator →

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