#E9E87F#E9E87F

#E9E87F is a very light, vivid yellow. Relative luminance 0.766; OKLCH L 91.0% C 0.128 H 108.2°. Best body text is #000000 at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#E9E87F
RGBrgb(233, 232, 127)
HSLhsl(59, 71%, 71%)
HSVhsv(59, 45%, 91%)
CMYKcmyk(0%, 0.4%, 45.5%, 8.6%)
CIE-LABlab(90.12, -14.01, 50.89)
CIE-LCHlch(90.12, 52.78, 105.39°)
OKLaboklab(91% -0.04 0.1216)
OKLCHoklch(91% 0.128 108.2)
XYZxyz(66.2930, 76.5707, 31.3620)
Luminance0.7657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9E87F #7F80E9
analogous
#E9B37F #E9E87F #B5E97F
triadic
#E9E87F #7FE9E8 #E87FE9
tetradic
#E9E87F #7FE9B3 #7F80E9 #E97FB5
square
#E9E87F #7FE9B3 #7F80E9 #E97FB5
split-complementary
#E9E87F #7FB5E9 #B37FE9
monochromatic
#CBC923 #E0DF4B #E9E87F #F2F1B3 #FBFAE5

Accessibility & contrast

On white

1.29
#E9E87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.31
#E9E87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9E87F
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9E87F#FFFFFF#000000##000000
##E9E87F1.001.2916.3116.31
#FFFFFF1.291.0021.0021.00
#00000016.3121.001.001.00
##00000016.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E076
Deuteranopia (green-blind)
#F9E584
Tritanopia (blue-blind)
#F6DCCF
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #e9e87f;
/* rgb */ color: rgb(233, 232, 127);
/* oklch */ color: oklch(91.0% 0.128 108.2);
Tailwind
colors: {
  custom: {
    50: '#f2efa6',
    500: '#e9e87f',
    950: '#000000',
  },
}
SCSS
$custom: #e9e87f;
$custom-light: #f2efa6;
$custom-dark: #000000;
JSON
{
  "hex": "#e9e87f",
  "rgb": {
    "r": 233,
    "g": 232,
    "b": 127
  },
  "hsl": {
    "h": 59.434,
    "s": 70.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.90998,
    "c": 0.128,
    "h": 108.2
  },
  "luminance": 0.76569
}

Semantic roles & 50–950 ramp

primary
#E9E87F
secondary
#4A4BC2
accent
#15D313
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#17160F
muted
#858580

Preview Lab

Preview with #E9E87F

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

Preview Lab → · Contrast checker → · Palette generator →

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