#E8D487#E8D487

#E8D487 is a very light, moderate yellow. Relative luminance 0.660; OKLCH L 86.9% C 0.099 H 95.3°. Best body text is #000000 at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#E8D487
RGBrgb(232, 212, 135)
HSLhsl(48, 68%, 72%)
HSVhsv(48, 42%, 91%)
CMYKcmyk(0%, 8.6%, 41.8%, 9%)
CIE-LABlab(84.99, -3.57, 40.56)
CIE-LCHlch(84.99, 40.72, 95.02°)
OKLaboklab(86.94% -0.0092 0.0989)
OKLCHoklch(86.94% 0.099 95.3)
XYZxyz(61.1968, 65.9942, 32.4315)
Luminance0.6599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D487 #879BE8
analogous
#E8A487 #E8D487 #CCE887
triadic
#E8D487 #87E8D4 #D487E8
tetradic
#E8D487 #87E8A4 #879BE8 #E887CC
square
#E8D487 #87E8A4 #879BE8 #E887CC
split-complementary
#E8D487 #87CCE8 #A487E8
monochromatic
#CDAB27 #DEC254 #E8D487 #F2E6BA #FAF6E5

Accessibility & contrast

On white

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

On black

14.20
#E8D487 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D487
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D487#FFFFFF#000000##000000
##E8D4871.001.4814.2014.20
#FFFFFF1.481.0021.0021.00
#00000014.2021.001.001.00
##00000014.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D081
Deuteranopia (green-blind)
#E8D78A
Tritanopia (blue-blind)
#F6C9C1
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e8d487;
/* rgb */ color: rgb(232, 212, 135);
/* oklch */ color: oklch(86.9% 0.099 95.3);
Tailwind
colors: {
  custom: {
    50: '#f1e1ab',
    500: '#e8d487',
    950: '#000000',
  },
}
SCSS
$custom: #e8d487;
$custom-light: #f1e1ab;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d487",
  "rgb": {
    "r": 232,
    "g": 212,
    "b": 135
  },
  "hsl": {
    "h": 47.629,
    "s": 67.832,
    "l": 71.961
  },
  "oklch": {
    "l": 0.86944,
    "c": 0.09933,
    "h": 95.3
  },
  "luminance": 0.65992
}

Semantic roles & 50–950 ramp

primary
#E8D487
secondary
#5269C1
accent
#3CD016
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #E8D487

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

Preview Lab → · Contrast checker → · Palette generator →

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