#E5D489#E5D489

#E5D489 is a very light, moderate yellow. Relative luminance 0.656; OKLCH L 86.7% C 0.097 H 96.9°. Best body text is #000000 at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#E5D489
RGBrgb(229, 212, 137)
HSLhsl(49, 64%, 72%)
HSVhsv(49, 40%, 90%)
CMYKcmyk(0%, 7.4%, 40.2%, 10.2%)
CIE-LABlab(84.77, -4.54, 39.21)
CIE-LCHlch(84.77, 39.47, 96.60°)
OKLaboklab(86.71% -0.0117 0.096)
OKLCHoklch(86.71% 0.097 96.9)
XYZxyz(60.3732, 65.5531, 33.1348)
Luminance0.6555 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D489 #899AE5
analogous
#E5A689 #E5D489 #C8E589
triadic
#E5D489 #89E5D4 #D489E5
tetradic
#E5D489 #89E5A6 #899AE5 #E589C8
square
#E5D489 #89E5A6 #899AE5 #E589C8
split-complementary
#E5D489 #89C8E5 #A689E5
monochromatic
#C8AB2C #DAC257 #E5D489 #F0E6BB #F9F6E6

Accessibility & contrast

On white

1.49
#E5D489 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.11
#E5D489 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D489
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D489#FFFFFF#000000##000000
##E5D4891.001.4914.1114.11
#FFFFFF1.491.0021.0021.00
#00000014.1121.001.001.00
##00000014.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2D083
Deuteranopia (green-blind)
#E7D68C
Tritanopia (blue-blind)
#F2CAC1
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e5d489;
/* rgb */ color: rgb(229, 212, 137);
/* oklch */ color: oklch(86.7% 0.097 96.9);
Tailwind
colors: {
  custom: {
    50: '#eee1ac',
    500: '#e5d489',
    950: '#000000',
  },
}
SCSS
$custom: #e5d489;
$custom-light: #eee1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d489",
  "rgb": {
    "r": 229,
    "g": 212,
    "b": 137
  },
  "hsl": {
    "h": 48.913,
    "s": 63.889,
    "l": 71.765
  },
  "oklch": {
    "l": 0.86714,
    "c": 0.09667,
    "h": 96.9
  },
  "luminance": 0.65551
}

Semantic roles & 50–950 ramp

primary
#E5D489
secondary
#5468BE
accent
#3BCC1A
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #E5D489

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

Preview Lab → · Contrast checker → · Palette generator →

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