#E2E587#E2E587

#E2E587 is a very light, moderate yellow. Relative luminance 0.740; OKLCH L 89.9% C 0.117 H 110.1°. Best body text is #000000 at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#E2E587
RGBrgb(226, 229, 135)
HSLhsl(62, 64%, 71%)
HSVhsv(62, 41%, 90%)
CMYKcmyk(1.3%, 0%, 41%, 10.2%)
CIE-LABlab(88.90, -14.48, 45.40)
CIE-LCHlch(88.90, 47.65, 107.68°)
OKLaboklab(89.93% -0.0403 0.1099)
OKLCHoklch(89.93% 0.117 110.1)
XYZxyz(63.7574, 73.9578, 33.8336)
Luminance0.7396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E587 #8A87E5
analogous
#E5B987 #E2E587 #B3E587
triadic
#E2E587 #87E2E5 #E587E2
tetradic
#E2E587 #87E5B9 #8A87E5 #E587B3
square
#E2E587 #87E5B9 #8A87E5 #E587B3
split-complementary
#E2E587 #87B3E5 #B987E5
monochromatic
#C2C72B #D6DA55 #E2E587 #EEF0B9 #F9FAE6

Accessibility & contrast

On white

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

On black

15.79
#E2E587 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E587
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E587#FFFFFF#000000##000000
##E2E5871.001.3315.7915.79
#FFFFFF1.331.0021.0021.00
#00000015.7921.001.001.00
##00000015.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2e587;
/* rgb */ color: rgb(226, 229, 135);
/* oklch */ color: oklch(89.9% 0.117 110.1);
Tailwind
colors: {
  custom: {
    50: '#ecedab',
    500: '#e2e587',
    950: '#000000',
  },
}
SCSS
$custom: #e2e587;
$custom-light: #ecedab;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e587",
  "rgb": {
    "r": 226,
    "g": 229,
    "b": 135
  },
  "hsl": {
    "h": 61.915,
    "s": 64.384,
    "l": 71.373
  },
  "oklch": {
    "l": 0.89927,
    "c": 0.11709,
    "h": 110.1
  },
  "luminance": 0.73957
}

Semantic roles & 50–950 ramp

primary
#E2E587
secondary
#5653BE
accent
#19CC1F
background
#FFFEFD
surface
#FEFDF7
border
#D6D5D0
text
#161610
muted
#858481

Preview Lab

Preview with #E2E587

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

Preview Lab → · Contrast checker → · Palette generator →

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