#E1E87F#E1E87F

#E1E87F is a very light, vivid yellow. Relative luminance 0.753; OKLCH L 90.4% C 0.129 H 112.1°. Best body text is #000000 at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#E1E87F
RGBrgb(225, 232, 127)
HSLhsl(64, 70%, 70%)
HSVhsv(64, 45%, 91%)
CMYKcmyk(3%, 0%, 45.3%, 9%)
CIE-LABlab(89.51, -17.14, 50.00)
CIE-LCHlch(89.51, 52.86, 108.92°)
OKLaboklab(90.36% -0.0485 0.1197)
OKLCHoklch(90.36% 0.129 112.1)
XYZxyz(63.7397, 75.2542, 31.2423)
Luminance0.7525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1E87F #867FE8
analogous
#E8BA7F #E1E87F #ACE87F
triadic
#E1E87F #7FE1E8 #E87FE1
tetradic
#E1E87F #7FE8BA #867FE8 #E87FAC
square
#E1E87F #7FE8BA #867FE8 #E87FAC
split-complementary
#E1E87F #7FACE8 #BA7FE8
monochromatic
#BEC924 #D5DF4B #E1E87F #EDF1B3 #F9FAE5

Accessibility & contrast

On white

1.31
#E1E87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.05
#E1E87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1E87F
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1E87F#FFFFFF#000000##000000
##E1E87F1.001.3116.0516.05
#FFFFFF1.311.0021.0021.00
#00000016.0521.001.001.00
##00000016.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E076
Deuteranopia (green-blind)
#F6E284
Tritanopia (blue-blind)
#EDDDCF
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #e1e87f;
/* rgb */ color: rgb(225, 232, 127);
/* oklch */ color: oklch(90.4% 0.129 112.1);
Tailwind
colors: {
  custom: {
    50: '#ecefa6',
    500: '#e1e87f',
    950: '#000000',
  },
}
SCSS
$custom: #e1e87f;
$custom-light: #ecefa6;
$custom-dark: #000000;
JSON
{
  "hex": "#e1e87f",
  "rgb": {
    "r": 225,
    "g": 232,
    "b": 127
  },
  "hsl": {
    "h": 64,
    "s": 69.536,
    "l": 70.392
  },
  "oklch": {
    "l": 0.90361,
    "c": 0.12918,
    "h": 112.1
  },
  "luminance": 0.75253
}

Semantic roles & 50–950 ramp

primary
#E1E87F
secondary
#524BC1
accent
#14D221
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#16160F
muted
#858580

Preview Lab

Preview with #E1E87F

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

Preview Lab → · Contrast checker → · Palette generator →

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