#E5E487#E5E487

#E5E487 is a very light, moderate yellow. Relative luminance 0.739; OKLCH L 90.0% C 0.116 H 108.0°. Best body text is #000000 at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#E5E487
RGBrgb(229, 228, 135)
HSLhsl(59, 64%, 71%)
HSVhsv(59, 41%, 90%)
CMYKcmyk(0%, 0.4%, 41%, 10.2%)
CIE-LABlab(88.87, -12.81, 45.41)
CIE-LCHlch(88.87, 47.19, 105.76°)
OKLaboklab(89.96% -0.0357 0.1099)
OKLCHoklch(89.96% 0.116 108)
XYZxyz(64.4307, 73.8955, 33.7861)
Luminance0.7389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5E487 #8788E5
analogous
#E5B587 #E5E487 #B7E587
triadic
#E5E487 #87E5E4 #E487E5
tetradic
#E5E487 #87E5B5 #8788E5 #E587B7
square
#E5E487 #87E5B5 #8788E5 #E587B7
split-complementary
#E5E487 #87B7E5 #B587E5
monochromatic
#C7C52B #DAD955 #E5E487 #F0EFB9 #FAF9E6

Accessibility & contrast

On white

1.33
#E5E487 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.78
#E5E487 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5E487
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5E487#FFFFFF#000000##000000
##E5E4871.001.3315.7815.78
#FFFFFF1.331.0021.0021.00
#00000015.7821.001.001.00
##00000015.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DD80
Deuteranopia (green-blind)
#F3E18B
Tritanopia (blue-blind)
#F1D9CD
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #e5e487;
/* rgb */ color: rgb(229, 228, 135);
/* oklch */ color: oklch(90.0% 0.116 108.0);
Tailwind
colors: {
  custom: {
    50: '#efecab',
    500: '#e5e487',
    950: '#000000',
  },
}
SCSS
$custom: #e5e487;
$custom-light: #efecab;
$custom-dark: #000000;
JSON
{
  "hex": "#e5e487",
  "rgb": {
    "r": 229,
    "g": 228,
    "b": 135
  },
  "hsl": {
    "h": 59.362,
    "s": 64.384,
    "l": 71.373
  },
  "oklch": {
    "l": 0.8996,
    "c": 0.11558,
    "h": 108
  },
  "luminance": 0.73894
}

Semantic roles & 50–950 ramp

primary
#E5E487
secondary
#5354BE
accent
#1BCC19
background
#FFFEFD
surface
#FEFDF7
border
#D6D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #E5E487

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

Preview Lab → · Contrast checker → · Palette generator →

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