#E5D864#E5D864

#E5D864 is a very light, vivid yellow. Relative luminance 0.667; OKLCH L 87.0% C 0.138 H 102.9°. Best body text is #000000 at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#E5D864
RGBrgb(229, 216, 100)
HSLhsl(54, 71%, 65%)
HSVhsv(54, 56%, 90%)
CMYKcmyk(0%, 5.7%, 56.3%, 10.2%)
CIE-LABlab(85.35, -9.91, 57.72)
CIE-LCHlch(85.35, 58.56, 99.74°)
OKLaboklab(87.03% -0.0308 0.134)
OKLCHoklch(87.03% 0.138 102.9)
XYZxyz(59.1712, 66.6920, 21.8101)
Luminance0.6669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D864 #6471E5
analogous
#E59764 #E5D864 #B2E564
triadic
#E5D864 #64E5D8 #D864E5
tetradic
#E5D864 #64E597 #6471E5 #E564B2
square
#E5D864 #64E597 #6471E5 #E564B2
split-complementary
#E5D864 #64B2E5 #9764E5
monochromatic
#B1A21E #DCCB30 #E5D864 #EEE598 #F7F2CD

Accessibility & contrast

On white

1.46
#E5D864 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.34
#E5D864 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D864
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D864#FFFFFF#000000##000000
##E5D8641.001.4614.3414.34
#FFFFFF1.461.0021.0021.00
#00000014.3421.001.001.00
##00000014.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D258
Deuteranopia (green-blind)
#EDD86A
Tritanopia (blue-blind)
#F4CBBE
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e5d864;
/* rgb */ color: rgb(229, 216, 100);
/* oklch */ color: oklch(87.0% 0.138 102.9);
Tailwind
colors: {
  custom: {
    50: '#f0e394',
    500: '#e5d864',
    950: '#000000',
  },
}
SCSS
$custom: #e5d864;
$custom-light: #f0e394;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d864",
  "rgb": {
    "r": 229,
    "g": 216,
    "b": 100
  },
  "hsl": {
    "h": 53.953,
    "s": 71.271,
    "l": 64.51
  },
  "oklch": {
    "l": 0.87028,
    "c": 0.13751,
    "h": 102.9
  },
  "luminance": 0.6669
}

Semantic roles & 50–950 ramp

primary
#E5D864
secondary
#3B47B2
accent
#26D312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E5D864

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

Preview Lab → · Contrast checker → · Palette generator →

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