#EEE787#EEE787

#EEE787 is a very light, moderate yellow. Relative luminance 0.771; OKLCH L 91.3% C 0.118 H 104.8°. Best body text is #000000 at 16.42:1 contrast (WCAG AA passes).

Color values

HEX#EEE787
RGBrgb(238, 231, 135)
HSLhsl(56, 75%, 73%)
HSVhsv(56, 43%, 93%)
CMYKcmyk(0%, 2.9%, 43.3%, 6.7%)
CIE-LABlab(90.36, -10.79, 47.42)
CIE-LCHlch(90.36, 48.63, 102.82°)
OKLaboklab(91.31% -0.0303 0.1144)
OKLCHoklch(91.31% 0.118 104.8)
XYZxyz(68.2104, 77.0800, 34.2018)
Luminance0.7708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EEE787 #878EEE
analogous
#EEB387 #EEE787 #C1EE87
triadic
#EEE787 #87EEE7 #E787EE
tetradic
#EEE787 #87EEB3 #878EEE #EE87C1
square
#EEE787 #87EEB3 #878EEE #EE87C1
split-complementary
#EEE787 #87C1EE #B387EE
monochromatic
#DCCF1F #E6DC51 #EEE787 #F6F2BD #FBFAE4

Accessibility & contrast

On white

1.28
#EEE787 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.42
#EEE787 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EEE787
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EEE787#FFFFFF#000000##000000
##EEE7871.001.2816.4216.42
#FFFFFF1.281.0021.0021.00
#00000016.4221.001.001.00
##00000016.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E17F
Deuteranopia (green-blind)
#F9E68B
Tritanopia (blue-blind)
#FBDCD0
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #eee787;
/* rgb */ color: rgb(238, 231, 135);
/* oklch */ color: oklch(91.3% 0.118 104.8);
Tailwind
colors: {
  custom: {
    50: '#f5eeab',
    500: '#eee787',
    950: '#000000',
  },
}
SCSS
$custom: #eee787;
$custom-light: #f5eeab;
$custom-dark: #000000;
JSON
{
  "hex": "#eee787",
  "rgb": {
    "r": 238,
    "g": 231,
    "b": 135
  },
  "hsl": {
    "h": 55.922,
    "s": 75.182,
    "l": 73.137
  },
  "oklch": {
    "l": 0.91313,
    "c": 0.1183,
    "h": 104.8
  },
  "luminance": 0.77078
}

Semantic roles & 50–950 ramp

primary
#EEE787
secondary
#5059C9
accent
#1CD70E
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171610
muted
#858581

Preview Lab

Preview with #EEE787

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

Preview Lab → · Contrast checker → · Palette generator →

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