#ECFA9A#ECFA9A

#ECFA9A is a very light, vivid yellow. Relative luminance 0.885; OKLCH L 95.4% C 0.120 H 115.5°. Best body text is #000000 at 18.71:1 contrast (WCAG AA passes).

Color values

HEX#ECFA9A
RGBrgb(236, 250, 154)
HSLhsl(69, 91%, 79%)
HSVhsv(69, 38%, 98%)
CMYKcmyk(5.6%, 0%, 38.4%, 2%)
CIE-LABlab(95.39, -18.88, 44.49)
CIE-LCHlch(95.39, 48.33, 112.99°)
OKLaboklab(95.36% -0.0519 0.1087)
OKLCHoklch(95.36% 0.12 115.5)
XYZxyz(74.6108, 88.5379, 43.7246)
Luminance0.8854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFA9A #A89AFA
analogous
#FAD89A #ECFA9A #BCFA9A
triadic
#ECFA9A #9AECFA #FA9AEC
tetradic
#ECFA9A #9AFAD8 #A89AFA #FA9ABC
square
#ECFA9A #9AFAD8 #A89AFA #FA9ABC
split-complementary
#ECFA9A #9ABCFA #D89AFA
monochromatic
#D6F425 #E1F760 #ECFA9A #F7FDD4 #FAFEE2

Accessibility & contrast

On white

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

On black

18.71
#ECFA9A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFA9A
18.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFA9A#FFFFFF#000000##000000
##ECFA9A1.001.1218.7118.71
#FFFFFF1.121.0021.0021.00
#00000018.7121.001.001.00
##00000018.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF193
Deuteranopia (green-blind)
#FFF39E
Tritanopia (blue-blind)
#F6F0E2
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #ecfa9a;
/* rgb */ color: rgb(236, 250, 154);
/* oklch */ color: oklch(95.4% 0.120 115.5);
Tailwind
colors: {
  custom: {
    50: '#f3fbb9',
    500: '#ecfa9a',
    950: '#000000',
  },
}
SCSS
$custom: #ecfa9a;
$custom-light: #f3fbb9;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfa9a",
  "rgb": {
    "r": 236,
    "g": 250,
    "b": 154
  },
  "hsl": {
    "h": 68.75,
    "s": 90.566,
    "l": 79.216
  },
  "oklch": {
    "l": 0.95361,
    "c": 0.12049,
    "h": 115.5
  },
  "luminance": 0.88537
}

Semantic roles & 50–950 ramp

primary
#ECFA9A
secondary
#705DDB
accent
#00E621
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECFA9A

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

Preview Lab → · Contrast checker → · Palette generator →

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