#EEF787#EEF787

#EEF787 is a very light, vivid yellow. Relative luminance 0.864; OKLCH L 94.6% C 0.136 H 112.8°. Best body text is #000000 at 18.29:1 contrast (WCAG AA passes).

Color values

HEX#EEF787
RGBrgb(238, 247, 135)
HSLhsl(65, 88%, 75%)
HSVhsv(65, 45%, 97%)
CMYKcmyk(3.6%, 0%, 45.3%, 3.1%)
CIE-LABlab(94.50, -18.64, 52.53)
CIE-LCHlch(94.50, 55.74, 109.53°)
OKLaboklab(94.61% -0.0527 0.1257)
OKLCHoklch(94.61% 0.136 112.8)
XYZxyz(72.8949, 86.4491, 35.7633)
Luminance0.8645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EEF787 #9087F7
analogous
#F7C887 #EEF787 #B6F787
triadic
#EEF787 #87EEF7 #F787EE
tetradic
#EEF787 #87F7C8 #9087F7 #F787B6
square
#EEF787 #87F7C8 #9087F7 #F787B6
split-complementary
#EEF787 #87B6F7 #C887F7
monochromatic
#DEEF14 #E6F34E #EEF787 #F6FBC0 #FBFDE2

Accessibility & contrast

On white

1.15
#EEF787 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.29
#EEF787 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EEF787
18.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EEF787#FFFFFF#000000##000000
##EEF7871.001.1518.2918.29
#FFFFFF1.151.0021.0021.00
#00000018.2921.001.001.00
##00000018.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE7D
Deuteranopia (green-blind)
#FFF18D
Tritanopia (blue-blind)
#FAEBDD
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #eef787;
/* rgb */ color: rgb(238, 247, 135);
/* oklch */ color: oklch(94.6% 0.136 112.8);
Tailwind
colors: {
  custom: {
    50: '#f5f9ac',
    500: '#eef787',
    950: '#000000',
  },
}
SCSS
$custom: #eef787;
$custom-light: #f5f9ac;
$custom-dark: #000000;
JSON
{
  "hex": "#eef787",
  "rgb": {
    "r": 238,
    "g": 247,
    "b": 135
  },
  "hsl": {
    "h": 64.821,
    "s": 87.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.94612,
    "c": 0.13634,
    "h": 112.8
  },
  "luminance": 0.86448
}

Semantic roles & 50–950 ramp

primary
#EEF787
secondary
#594ED4
accent
#01E414
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #EEF787

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

Preview Lab → · Contrast checker → · Palette generator →

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