#ECF989#ECF989

#ECF989 is a very light, vivid yellow. Relative luminance 0.874; OKLCH L 94.9% C 0.137 H 114.5°. Best body text is #000000 at 18.48:1 contrast (WCAG AA passes).

Color values

HEX#ECF989
RGBrgb(236, 249, 137)
HSLhsl(67, 90%, 76%)
HSVhsv(67, 45%, 98%)
CMYKcmyk(5.2%, 0%, 45%, 2.4%)
CIE-LABlab(94.90, -20.17, 52.05)
CIE-LCHlch(94.90, 55.82, 111.19°)
OKLaboklab(94.9% -0.0568 0.1248)
OKLCHoklch(94.9% 0.137 114.5)
XYZxyz(72.9840, 87.3913, 36.6855)
Luminance0.8739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF989 #9689F9
analogous
#F9CE89 #ECF989 #B4F989
triadic
#ECF989 #89ECF9 #F989EC
tetradic
#ECF989 #89F9CE #9689F9 #F989B4
square
#ECF989 #89F9CE #9689F9 #F989B4
split-complementary
#ECF989 #89B4F9 #CE89F9
monochromatic
#D9F315 #E3F64F #ECF989 #F5FCC3 #FAFEE2

Accessibility & contrast

On white

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

On black

18.48
#ECF989 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF989
18.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF989#FFFFFF#000000##000000
##ECF9891.001.1418.4818.48
#FFFFFF1.141.0021.0021.00
#00000018.4821.001.001.00
##00000018.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF80
Deuteranopia (green-blind)
#FFF28F
Tritanopia (blue-blind)
#F8EEDF
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #ecf989;
/* rgb */ color: rgb(236, 249, 137);
/* oklch */ color: oklch(94.9% 0.137 114.5);
Tailwind
colors: {
  custom: {
    50: '#f4fbad',
    500: '#ecf989',
    950: '#000000',
  },
}
SCSS
$custom: #ecf989;
$custom-light: #f4fbad;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf989",
  "rgb": {
    "r": 236,
    "g": 249,
    "b": 137
  },
  "hsl": {
    "h": 66.964,
    "s": 90.323,
    "l": 75.686
  },
  "oklch": {
    "l": 0.94903,
    "c": 0.13714,
    "h": 114.5
  },
  "luminance": 0.8739
}

Semantic roles & 50–950 ramp

primary
#ECF989
secondary
#5F4FD7
accent
#00E61B
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #ECF989

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

Preview Lab → · Contrast checker → · Palette generator →

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