#E4E187#E4E187

#E4E187 is a very light, moderate yellow. Relative luminance 0.721; OKLCH L 89.3% C 0.112 H 106.8°. Best body text is #000000 at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#E4E187
RGBrgb(228, 225, 135)
HSLhsl(58, 63%, 71%)
HSVhsv(58, 41%, 89%)
CMYKcmyk(0%, 1.3%, 40.8%, 10.6%)
CIE-LABlab(88.01, -11.71, 44.32)
CIE-LCHlch(88.01, 45.84, 104.80°)
OKLaboklab(89.26% -0.0325 0.1075)
OKLCHoklch(89.26% 0.112 106.8)
XYZxyz(63.2944, 72.0951, 33.4985)
Luminance0.7209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E187 #878AE4
analogous
#E4B287 #E4E187 #B8E487
triadic
#E4E187 #87E4E1 #E187E4
tetradic
#E4E187 #87E4B2 #878AE4 #E487B8
square
#E4E187 #87E4B2 #878AE4 #E487B8
split-complementary
#E4E187 #87B8E4 #B287E4
monochromatic
#C4BF2C #D9D555 #E4E187 #EFEDB9 #F9F9E6

Accessibility & contrast

On white

1.36
#E4E187 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.42
#E4E187 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E187
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E187#FFFFFF#000000##000000
##E4E1871.001.3615.4215.42
#FFFFFF1.361.0021.0021.00
#00000015.4221.001.001.00
##00000015.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFDB80
Deuteranopia (green-blind)
#F1DF8B
Tritanopia (blue-blind)
#F0D6CB
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #e4e187;
/* rgb */ color: rgb(228, 225, 135);
/* oklch */ color: oklch(89.3% 0.112 106.8);
Tailwind
colors: {
  custom: {
    50: '#eeeaab',
    500: '#e4e187',
    950: '#000000',
  },
}
SCSS
$custom: #e4e187;
$custom-light: #eeeaab;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e187",
  "rgb": {
    "r": 228,
    "g": 225,
    "b": 135
  },
  "hsl": {
    "h": 58.065,
    "s": 63.265,
    "l": 71.176
  },
  "oklch": {
    "l": 0.89258,
    "c": 0.11227,
    "h": 106.8
  },
  "luminance": 0.72094
}

Semantic roles & 50–950 ramp

primary
#E4E187
secondary
#5356BC
accent
#20CB1A
background
#FFFEFD
surface
#FEFDF7
border
#D6D5D0
text
#161610
muted
#858481

Preview Lab

Preview with #E4E187

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

Preview Lab → · Contrast checker → · Palette generator →

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