#E4E687#E4E687

#E4E687 is a very light, moderate yellow. Relative luminance 0.748; OKLCH L 90.3% C 0.118 H 109.6°. Best body text is #000000 at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#E4E687
RGBrgb(228, 230, 135)
HSLhsl(61, 66%, 72%)
HSVhsv(61, 41%, 90%)
CMYKcmyk(0.9%, 0%, 41.3%, 9.8%)
CIE-LABlab(89.32, -14.19, 45.95)
CIE-LCHlch(89.32, 48.10, 107.16°)
OKLaboklab(90.29% -0.0396 0.1112)
OKLCHoklch(90.29% 0.118 109.6)
XYZxyz(64.6659, 74.8381, 33.9557)
Luminance0.7484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E687 #8987E6
analogous
#E6B987 #E4E687 #B5E687
triadic
#E4E687 #87E4E6 #E687E4
tetradic
#E4E687 #87E6B9 #8987E6 #E687B5
square
#E4E687 #87E6B9 #8987E6 #E687B5
split-complementary
#E4E687 #87B5E6 #B987E6
monochromatic
#C5C92A #D9DB54 #E4E687 #EFF1BA #F9FAE6

Accessibility & contrast

On white

1.32
#E4E687 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.97
#E4E687 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E687
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E687#FFFFFF#000000##000000
##E4E6871.001.3215.9715.97
#FFFFFF1.321.0021.0021.00
#00000015.9721.001.001.00
##00000015.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DF7F
Deuteranopia (green-blind)
#F5E28B
Tritanopia (blue-blind)
#F0DBCF
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #e4e687;
/* rgb */ color: rgb(228, 230, 135);
/* oklch */ color: oklch(90.3% 0.118 109.6);
Tailwind
colors: {
  custom: {
    50: '#eeedab',
    500: '#e4e687',
    950: '#000000',
  },
}
SCSS
$custom: #e4e687;
$custom-light: #eeedab;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e687",
  "rgb": {
    "r": 228,
    "g": 230,
    "b": 135
  },
  "hsl": {
    "h": 61.263,
    "s": 65.517,
    "l": 71.569
  },
  "oklch": {
    "l": 0.90294,
    "c": 0.11799,
    "h": 109.6
  },
  "luminance": 0.74837
}

Semantic roles & 50–950 ramp

primary
#E4E687
secondary
#5552BF
accent
#18CD1C
background
#FFFEFD
surface
#FEFDF7
border
#D6D5D0
text
#161610
muted
#858481

Preview Lab

Preview with #E4E687

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

Preview Lab → · Contrast checker → · Palette generator →

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