#FFEC89#FFEC89

#FFEC89 is a very light, vivid yellow. Relative luminance 0.831; OKLCH L 93.8% C 0.122 H 98.7°. Best body text is #000000 at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#FFEC89
RGBrgb(255, 236, 137)
HSLhsl(50, 100%, 77%)
HSVhsv(50, 46%, 100%)
CMYKcmyk(0%, 7.5%, 46.3%, 0%)
CIE-LABlab(93.04, -6.42, 50.08)
CIE-LCHlch(93.04, 50.50, 97.31°)
OKLaboklab(93.78% -0.0184 0.1202)
OKLCHoklch(93.78% 0.122 98.7)
XYZxyz(75.7529, 83.0597, 35.7038)
Luminance0.8306 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEC89 #899CFF
analogous
#FFB189 #FFEC89 #D7FF89
triadic
#FFEC89 #89FFEC #EC89FF
tetradic
#FFEC89 #89FFB1 #899CFF #FF89D7
square
#FFEC89 #89FFB1 #899CFF #FF89D7
split-complementary
#FFEC89 #89D7FF #B189FF
monochromatic
#FFD80F #FFE24C #FFEC89 #FFF6C6 #FFFAE0

Accessibility & contrast

On white

1.19
#FFEC89 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.61
#FFEC89 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEC89
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEC89#FFFFFF#000000##000000
##FFEC891.001.1917.6117.61
#FFFFFF1.191.0021.0021.00
#00000017.6121.001.001.00
##00000017.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE781
Deuteranopia (green-blind)
#FFEE8D
Tritanopia (blue-blind)
#FFDFD4
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ffec89;
/* rgb */ color: rgb(255, 236, 137);
/* oklch */ color: oklch(93.8% 0.122 98.7);
Tailwind
colors: {
  custom: {
    50: '#fff1ad',
    500: '#ffec89',
    950: '#000000',
  },
}
SCSS
$custom: #ffec89;
$custom-light: #fff1ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ffec89",
  "rgb": {
    "r": 255,
    "g": 236,
    "b": 137
  },
  "hsl": {
    "h": 50.339,
    "s": 100,
    "l": 76.863
  },
  "oklch": {
    "l": 0.9378,
    "c": 0.12164,
    "h": 98.7
  },
  "luminance": 0.83057
}

Semantic roles & 50–950 ramp

primary
#FFEC89
secondary
#4D64E0
accent
#25E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181610
muted
#868581

Preview Lab

Preview with #FFEC89

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

Preview Lab → · Contrast checker → · Palette generator →

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