#EEF987#EEF987

#EEF987 is a very light, vivid yellow. Relative luminance 0.877; OKLCH L 95.0% C 0.139 H 113.6°. Best body text is #000000 at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#EEF987
RGBrgb(238, 249, 135)
HSLhsl(66, 90%, 75%)
HSVhsv(66, 46%, 98%)
CMYKcmyk(4.4%, 0%, 45.8%, 2.4%)
CIE-LABlab(95.03, -19.60, 53.17)
CIE-LCHlch(95.03, 56.67, 110.24°)
OKLaboklab(95.03% -0.0555 0.1271)
OKLCHoklch(95.03% 0.139 113.6)
XYZxyz(73.5098, 87.6789, 35.9682)
Luminance0.8768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EEF987 #9287F9
analogous
#F9CB87 #EEF987 #B5F987
triadic
#EEF987 #87EEF9 #F987EE
tetradic
#EEF987 #87F9CB #9287F9 #F987B5
square
#EEF987 #87F9CB #9287F9 #F987B5
split-complementary
#EEF987 #87B5F9 #CB87F9
monochromatic
#DDF312 #E6F64D #EEF987 #F6FCC1 #FBFEE2

Accessibility & contrast

On white

1.13
#EEF987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.54
#EEF987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EEF987
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EEF987#FFFFFF#000000##000000
##EEF9871.001.1318.5418.54
#FFFFFF1.131.0021.0021.00
#00000018.5421.001.001.00
##00000018.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF7D
Deuteranopia (green-blind)
#FFF28D
Tritanopia (blue-blind)
#FAEDDE
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #eef987;
/* rgb */ color: rgb(238, 249, 135);
/* oklch */ color: oklch(95.0% 0.139 113.6);
Tailwind
colors: {
  custom: {
    50: '#f5fbac',
    500: '#eef987',
    950: '#000000',
  },
}
SCSS
$custom: #eef987;
$custom-light: #f5fbac;
$custom-dark: #000000;
JSON
{
  "hex": "#eef987",
  "rgb": {
    "r": 238,
    "g": 249,
    "b": 135
  },
  "hsl": {
    "h": 65.789,
    "s": 90.476,
    "l": 75.294
  },
  "oklch": {
    "l": 0.95028,
    "c": 0.13872,
    "h": 113.6
  },
  "luminance": 0.87678
}

Semantic roles & 50–950 ramp

primary
#EEF987
secondary
#5A4DD7
accent
#00E616
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #EEF987

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

Preview Lab → · Contrast checker → · Palette generator →

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