#EEE987#EEE987

#EEE987 is a very light, vivid yellow. Relative luminance 0.782; OKLCH L 91.7% C 0.120 H 106.0°. Best body text is #000000 at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#EEE987
RGBrgb(238, 233, 135)
HSLhsl(57, 75%, 73%)
HSVhsv(57, 43%, 93%)
CMYKcmyk(0%, 2.1%, 43.3%, 6.7%)
CIE-LABlab(90.87, -11.78, 48.06)
CIE-LCHlch(90.87, 49.49, 103.77°)
OKLaboklab(91.72% -0.0331 0.1158)
OKLCHoklch(91.72% 0.12 106)
XYZxyz(68.7733, 78.2060, 34.3894)
Luminance0.7820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EEE987 #878CEE
analogous
#EEB587 #EEE987 #C0EE87
triadic
#EEE987 #87EEE9 #E987EE
tetradic
#EEE987 #87EEB5 #878CEE #EE87C0
square
#EEE987 #87EEB5 #878CEE #EE87C0
split-complementary
#EEE987 #87C0EE #B587EE
monochromatic
#DCD21F #E6DF51 #EEE987 #F6F3BD #FBFAE4

Accessibility & contrast

On white

1.26
#EEE987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.64
#EEE987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EEE987
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EEE987#FFFFFF#000000##000000
##EEE9871.001.2616.6416.64
#FFFFFF1.261.0021.0021.00
#00000016.6421.001.001.00
##00000016.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E27F
Deuteranopia (green-blind)
#FAE78B
Tritanopia (blue-blind)
#FBDED2
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #eee987;
/* rgb */ color: rgb(238, 233, 135);
/* oklch */ color: oklch(91.7% 0.120 106.0);
Tailwind
colors: {
  custom: {
    50: '#f5efab',
    500: '#eee987',
    950: '#000000',
  },
}
SCSS
$custom: #eee987;
$custom-light: #f5efab;
$custom-dark: #000000;
JSON
{
  "hex": "#eee987",
  "rgb": {
    "r": 238,
    "g": 233,
    "b": 135
  },
  "hsl": {
    "h": 57.087,
    "s": 75.182,
    "l": 73.137
  },
  "oklch": {
    "l": 0.91722,
    "c": 0.12044,
    "h": 106
  },
  "luminance": 0.78204
}

Semantic roles & 50–950 ramp

primary
#EEE987
secondary
#5056C9
accent
#18D70E
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171610
muted
#858581

Preview Lab

Preview with #EEE987

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

Preview Lab → · Contrast checker → · Palette generator →

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