#E4E287#E4E287

#E4E287 is a very light, moderate yellow. Relative luminance 0.726; OKLCH L 89.5% C 0.113 H 107.4°. Best body text is #000000 at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#E4E287
RGBrgb(228, 226, 135)
HSLhsl(59, 63%, 71%)
HSVhsv(59, 41%, 89%)
CMYKcmyk(0%, 0.9%, 40.8%, 10.6%)
CIE-LABlab(88.27, -12.21, 44.65)
CIE-LCHlch(88.27, 46.29, 105.29°)
OKLaboklab(89.46% -0.0339 0.1082)
OKLCHoklch(89.46% 0.113 107.4)
XYZxyz(63.5655, 72.6374, 33.5889)
Luminance0.7264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E287 #8789E4
analogous
#E4B387 #E4E287 #B7E487
triadic
#E4E287 #87E4E2 #E287E4
tetradic
#E4E287 #87E4B3 #8789E4 #E487B7
square
#E4E287 #87E4B3 #8789E4 #E487B7
split-complementary
#E4E287 #87B7E4 #B387E4
monochromatic
#C4C12C #D9D655 #E4E287 #EFEEB9 #F9F9E6

Accessibility & contrast

On white

1.35
#E4E287 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.53
#E4E287 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E287
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E287#FFFFFF#000000##000000
##E4E2871.001.3515.5315.53
#FFFFFF1.351.0021.0021.00
#00000015.5321.001.001.00
##00000015.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DB80
Deuteranopia (green-blind)
#F2DF8B
Tritanopia (blue-blind)
#F0D7CC
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #e4e287;
/* rgb */ color: rgb(228, 226, 135);
/* oklch */ color: oklch(89.5% 0.113 107.4);
Tailwind
colors: {
  custom: {
    50: '#eeebab',
    500: '#e4e287',
    950: '#000000',
  },
}
SCSS
$custom: #e4e287;
$custom-light: #eeebab;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e287",
  "rgb": {
    "r": 228,
    "g": 226,
    "b": 135
  },
  "hsl": {
    "h": 58.71,
    "s": 63.265,
    "l": 71.176
  },
  "oklch": {
    "l": 0.89465,
    "c": 0.11339,
    "h": 107.4
  },
  "luminance": 0.72636
}

Semantic roles & 50–950 ramp

primary
#E4E287
secondary
#5355BC
accent
#1ECB1A
background
#FFFEFD
surface
#FEFDF7
border
#D6D5D0
text
#161610
muted
#858481

Preview Lab

Preview with #E4E287

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

Preview Lab → · Contrast checker → · Palette generator →

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