#E4E887#E4E887

#E4E887 is a very light, vivid yellow. Relative luminance 0.760; OKLCH L 90.7% C 0.120 H 110.6°. Best body text is #000000 at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#E4E887
RGBrgb(228, 232, 135)
HSLhsl(62, 68%, 72%)
HSVhsv(62, 42%, 91%)
CMYKcmyk(1.7%, 0%, 41.8%, 9%)
CIE-LABlab(89.84, -15.18, 46.61)
CIE-LCHlch(89.84, 49.02, 108.04°)
OKLaboklab(90.71% -0.0424 0.1126)
OKLCHoklch(90.71% 0.12 110.6)
XYZxyz(65.2256, 75.9577, 34.1423)
Luminance0.7596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E887 #8B87E8
analogous
#E8BC87 #E4E887 #B4E887
triadic
#E4E887 #87E4E8 #E887E4
tetradic
#E4E887 #87E8BC #8B87E8 #E887B4
square
#E4E887 #87E8BC #8B87E8 #E887B4
split-complementary
#E4E887 #87B4E8 #BC87E8
monochromatic
#C6CD27 #D8DE54 #E4E887 #F0F2BA #F9FAE5

Accessibility & contrast

On white

1.30
#E4E887 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.19
#E4E887 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E887
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E887#FFFFFF#000000##000000
##E4E8871.001.3016.1916.19
#FFFFFF1.301.0021.0021.00
#00000016.1921.001.001.00
##00000016.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E07F
Deuteranopia (green-blind)
#F6E38C
Tritanopia (blue-blind)
#F0DDD1
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #e4e887;
/* rgb */ color: rgb(228, 232, 135);
/* oklch */ color: oklch(90.7% 0.120 110.6);
Tailwind
colors: {
  custom: {
    50: '#eeefab',
    500: '#e4e887',
    950: '#000000',
  },
}
SCSS
$custom: #e4e887;
$custom-light: #eeefab;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e887",
  "rgb": {
    "r": 228,
    "g": 232,
    "b": 135
  },
  "hsl": {
    "h": 62.474,
    "s": 67.832,
    "l": 71.961
  },
  "oklch": {
    "l": 0.9071,
    "c": 0.12035,
    "h": 110.6
  },
  "luminance": 0.75956
}

Semantic roles & 50–950 ramp

primary
#E4E887
secondary
#5652C1
accent
#16D01D
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#171610
muted
#858581

Preview Lab

Preview with #E4E887

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

Preview Lab → · Contrast checker → · Palette generator →

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