#E5D487#E5D487

#E5D487 is a very light, moderate yellow. Relative luminance 0.655; OKLCH L 86.7% C 0.099 H 97.2°. Best body text is #000000 at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#E5D487
RGBrgb(229, 212, 135)
HSLhsl(49, 64%, 71%)
HSVhsv(49, 41%, 90%)
CMYKcmyk(0%, 7.4%, 41%, 10.2%)
CIE-LABlab(84.74, -4.75, 40.18)
CIE-LCHlch(84.74, 40.46, 96.74°)
OKLaboklab(86.68% -0.0125 0.0981)
OKLCHoklch(86.68% 0.099 97.2)
XYZxyz(60.2311, 65.4962, 32.3863)
Luminance0.6549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D487 #8798E5
analogous
#E5A587 #E5D487 #C7E587
triadic
#E5D487 #87E5D4 #D487E5
tetradic
#E5D487 #87E5A5 #8798E5 #E587C7
square
#E5D487 #87E5A5 #8798E5 #E587C7
split-complementary
#E5D487 #87C7E5 #A587E5
monochromatic
#C7AA2B #DAC255 #E5D487 #F0E6B9 #FAF6E6

Accessibility & contrast

On white

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

On black

14.10
#E5D487 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D487
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D487#FFFFFF#000000##000000
##E5D4871.001.4914.1014.10
#FFFFFF1.491.0021.0021.00
#00000014.1021.001.001.00
##00000014.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2D081
Deuteranopia (green-blind)
#E7D68A
Tritanopia (blue-blind)
#F2C9C1
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e5d487;
/* rgb */ color: rgb(229, 212, 135);
/* oklch */ color: oklch(86.7% 0.099 97.2);
Tailwind
colors: {
  custom: {
    50: '#efe1ab',
    500: '#e5d487',
    950: '#000000',
  },
}
SCSS
$custom: #e5d487;
$custom-light: #efe1ab;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d487",
  "rgb": {
    "r": 229,
    "g": 212,
    "b": 135
  },
  "hsl": {
    "h": 49.149,
    "s": 64.384,
    "l": 71.373
  },
  "oklch": {
    "l": 0.86682,
    "c": 0.09887,
    "h": 97.2
  },
  "luminance": 0.65494
}

Semantic roles & 50–950 ramp

primary
#E5D487
secondary
#5366BE
accent
#3ACC19
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #E5D487

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

Preview Lab → · Contrast checker → · Palette generator →

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