#ECFC9A#ECFC9A

#ECFC9A is a very light, vivid yellow. Relative luminance 0.898; OKLCH L 95.8% C 0.123 H 116.4°. Best body text is #000000 at 18.96:1 contrast (WCAG AA passes).

Color values

HEX#ECFC9A
RGBrgb(236, 252, 154)
HSLhsl(70, 94%, 80%)
HSVhsv(70, 39%, 99%)
CMYKcmyk(6.3%, 0%, 38.9%, 1.2%)
CIE-LABlab(95.91, -19.84, 45.16)
CIE-LCHlch(95.91, 49.33, 113.72°)
OKLaboklab(95.78% -0.0546 0.1103)
OKLCHoklch(95.78% 0.123 116.4)
XYZxyz(75.2356, 89.7874, 43.9328)
Luminance0.8979 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFC9A #AA9AFC
analogous
#FCDB9A #ECFC9A #BBFC9A
triadic
#ECFC9A #9AECFC #FC9AEC
tetradic
#ECFC9A #9AFCDB #AA9AFC #FC9ABB
square
#ECFC9A #9AFCDB #AA9AFC #FC9ABB
split-complementary
#ECFC9A #9ABBFC #DB9AFC
monochromatic
#D6F823 #E1FA5F #ECFC9A #F7FED5 #F9FEE1

Accessibility & contrast

On white

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

On black

18.96
#ECFC9A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFC9A
18.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFC9A#FFFFFF#000000##000000
##ECFC9A1.001.1118.9618.96
#FFFFFF1.111.0021.0021.00
#00000018.9621.001.001.00
##00000018.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF393
Deuteranopia (green-blind)
#FFF49F
Tritanopia (blue-blind)
#F6F2E4
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #ecfc9a;
/* rgb */ color: rgb(236, 252, 154);
/* oklch */ color: oklch(95.8% 0.123 116.4);
Tailwind
colors: {
  custom: {
    50: '#f3fdb9',
    500: '#ecfc9a',
    950: '#000000',
  },
}
SCSS
$custom: #ecfc9a;
$custom-light: #f3fdb9;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfc9a",
  "rgb": {
    "r": 236,
    "g": 252,
    "b": 154
  },
  "hsl": {
    "h": 69.796,
    "s": 94.231,
    "l": 79.608
  },
  "oklch": {
    "l": 0.95777,
    "c": 0.12305,
    "h": 116.4
  },
  "luminance": 0.89787
}

Semantic roles & 50–950 ramp

primary
#ECFC9A
secondary
#725DDE
accent
#00E625
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECFC9A

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

Preview Lab → · Contrast checker → · Palette generator →

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