#EEF887#EEF887

#EEF887 is a very light, vivid yellow. Relative luminance 0.871; OKLCH L 94.8% C 0.138 H 113.2°. Best body text is #000000 at 18.41:1 contrast (WCAG AA passes).

Color values

HEX#EEF887
RGBrgb(238, 248, 135)
HSLhsl(65, 89%, 75%)
HSVhsv(65, 46%, 97%)
CMYKcmyk(4%, 0%, 45.6%, 2.7%)
CIE-LABlab(94.76, -19.12, 52.85)
CIE-LCHlch(94.76, 56.20, 109.89°)
OKLaboklab(94.82% -0.0541 0.1264)
OKLCHoklch(94.82% 0.138 113.2)
XYZxyz(73.2015, 87.0624, 35.8655)
Luminance0.8706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EEF887 #9187F8
analogous
#F8CA87 #EEF887 #B5F887
triadic
#EEF887 #87EEF8 #F887EE
tetradic
#EEF887 #87F8CA #9187F8 #F887B5
square
#EEF887 #87F8CA #9187F8 #F887B5
split-complementary
#EEF887 #87B5F8 #CA87F8
monochromatic
#DEF113 #E6F54D #EEF887 #F6FBC1 #FBFDE2

Accessibility & contrast

On white

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

On black

18.41
#EEF887 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EEF887
18.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EEF887#FFFFFF#000000##000000
##EEF8871.001.1418.4118.41
#FFFFFF1.141.0021.0021.00
#00000018.4121.001.001.00
##00000018.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF7D
Deuteranopia (green-blind)
#FFF18D
Tritanopia (blue-blind)
#FAECDD
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #eef887;
/* rgb */ color: rgb(238, 248, 135);
/* oklch */ color: oklch(94.8% 0.138 113.2);
Tailwind
colors: {
  custom: {
    50: '#f5faac',
    500: '#eef887',
    950: '#000000',
  },
}
SCSS
$custom: #eef887;
$custom-light: #f5faac;
$custom-dark: #000000;
JSON
{
  "hex": "#eef887",
  "rgb": {
    "r": 238,
    "g": 248,
    "b": 135
  },
  "hsl": {
    "h": 65.31,
    "s": 88.976,
    "l": 75.098
  },
  "oklch": {
    "l": 0.9482,
    "c": 0.13753,
    "h": 113.2
  },
  "luminance": 0.87061
}

Semantic roles & 50–950 ramp

primary
#EEF887
secondary
#5A4DD6
accent
#00E614
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #EEF887

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

Preview Lab → · Contrast checker → · Palette generator →

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