#E5D589#E5D589

#E5D589 is a very light, moderate yellow. Relative luminance 0.661; OKLCH L 86.9% C 0.098 H 97.8°. Best body text is #000000 at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#E5D589
RGBrgb(229, 213, 137)
HSLhsl(50, 64%, 72%)
HSVhsv(50, 40%, 90%)
CMYKcmyk(0%, 7%, 40.2%, 10.2%)
CIE-LABlab(85.02, -5.05, 39.54)
CIE-LCHlch(85.02, 39.86, 97.28°)
OKLaboklab(86.92% -0.0132 0.0967)
OKLCHoklch(86.92% 0.098 97.8)
XYZxyz(60.6240, 66.0546, 33.2184)
Luminance0.6605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D589 #8999E5
analogous
#E5A789 #E5D589 #C7E589
triadic
#E5D589 #89E5D5 #D589E5
tetradic
#E5D589 #89E5A7 #8999E5 #E589C7
square
#E5D589 #89E5A7 #8999E5 #E589C7
split-complementary
#E5D589 #89C7E5 #A789E5
monochromatic
#C8AD2C #DAC357 #E5D589 #F0E7BB #F9F6E6

Accessibility & contrast

On white

1.48
#E5D589 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.21
#E5D589 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D589
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D589#FFFFFF#000000##000000
##E5D5891.001.4814.2114.21
#FFFFFF1.481.0021.0021.00
#00000014.2121.001.001.00
##00000014.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D183
Deuteranopia (green-blind)
#E8D78C
Tritanopia (blue-blind)
#F2CBC2
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e5d589;
/* rgb */ color: rgb(229, 213, 137);
/* oklch */ color: oklch(86.9% 0.098 97.8);
Tailwind
colors: {
  custom: {
    50: '#eee1ac',
    500: '#e5d589',
    950: '#000000',
  },
}
SCSS
$custom: #e5d589;
$custom-light: #eee1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d589",
  "rgb": {
    "r": 229,
    "g": 213,
    "b": 137
  },
  "hsl": {
    "h": 49.565,
    "s": 63.889,
    "l": 71.765
  },
  "oklch": {
    "l": 0.86917,
    "c": 0.0976,
    "h": 97.8
  },
  "luminance": 0.66053
}

Semantic roles & 50–950 ramp

primary
#E5D589
secondary
#5467BE
accent
#39CC1A
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #E5D589

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

Preview Lab → · Contrast checker → · Palette generator →

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