#ECF89A#ECF89A

#ECF89A is a very light, moderate yellow. Relative luminance 0.873; OKLCH L 94.9% C 0.118 H 114.6°. Best body text is #000000 at 18.46:1 contrast (WCAG AA passes).

Color values

HEX#ECF89A
RGBrgb(236, 248, 154)
HSLhsl(68, 87%, 79%)
HSVhsv(68, 38%, 97%)
CMYKcmyk(4.8%, 0%, 37.9%, 2.7%)
CIE-LABlab(94.87, -17.91, 43.83)
CIE-LCHlch(94.87, 47.34, 112.23°)
OKLaboklab(94.95% -0.0491 0.1072)
OKLCHoklch(94.95% 0.118 114.6)
XYZxyz(73.9927, 87.3016, 43.5185)
Luminance0.8730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF89A #A69AF8
analogous
#F8D59A #ECF89A #BDF89A
triadic
#ECF89A #9AECF8 #F89AEC
tetradic
#ECF89A #9AF8D5 #A69AF8 #F89ABD
square
#ECF89A #9AF8D5 #A69AF8 #F89ABD
split-complementary
#ECF89A #9ABDF8 #D59AF8
monochromatic
#D6F028 #E1F461 #ECF89A #F7FCD3 #FAFDE2

Accessibility & contrast

On white

1.14
#ECF89A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.46
#ECF89A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF89A
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF89A#FFFFFF#000000##000000
##ECF89A1.001.1418.4618.46
#FFFFFF1.141.0021.0021.00
#00000018.4621.001.001.00
##00000018.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF93
Deuteranopia (green-blind)
#FFF19E
Tritanopia (blue-blind)
#F6EEE1
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #ecf89a;
/* rgb */ color: rgb(236, 248, 154);
/* oklch */ color: oklch(94.9% 0.118 114.6);
Tailwind
colors: {
  custom: {
    50: '#f3fab9',
    500: '#ecf89a',
    950: '#000000',
  },
}
SCSS
$custom: #ecf89a;
$custom-light: #f3fab9;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf89a",
  "rgb": {
    "r": 236,
    "g": 248,
    "b": 154
  },
  "hsl": {
    "h": 67.66,
    "s": 87.037,
    "l": 78.824
  },
  "oklch": {
    "l": 0.94945,
    "c": 0.11794,
    "h": 114.6
  },
  "luminance": 0.87301
}

Semantic roles & 50–950 ramp

primary
#ECF89A
secondary
#6E5ED8
accent
#02E41F
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #ECF89A

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

Preview Lab → · Contrast checker → · Palette generator →

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