#E7D864#E7D864

#E7D864 is a very light, vivid yellow. Relative luminance 0.670; OKLCH L 87.2% C 0.137 H 102.0°. Best body text is #000000 at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#E7D864
RGBrgb(231, 216, 100)
HSLhsl(53, 73%, 65%)
HSVhsv(53, 57%, 91%)
CMYKcmyk(0%, 6.5%, 56.7%, 9.4%)
CIE-LABlab(85.52, -9.09, 57.95)
CIE-LCHlch(85.52, 58.66, 98.92°)
OKLaboklab(87.2% -0.0286 0.1345)
OKLCHoklch(87.2% 0.137 102)
XYZxyz(59.8132, 67.0230, 21.8402)
Luminance0.6702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D864 #6473E7
analogous
#E79764 #E7D864 #B4E764
triadic
#E7D864 #64E7D8 #D864E7
tetradic
#E7D864 #64E797 #6473E7 #E764B4
square
#E7D864 #64E797 #6473E7 #E764B4
split-complementary
#E7D864 #64B4E7 #9764E7
monochromatic
#B5A31C #DFCB2F #E7D864 #EFE599 #F7F3CE

Accessibility & contrast

On white

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

On black

14.40
#E7D864 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D864
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D864#FFFFFF#000000##000000
##E7D8641.001.4614.4014.40
#FFFFFF1.461.0021.0021.00
#00000014.4021.001.001.00
##00000014.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D258
Deuteranopia (green-blind)
#EED96A
Tritanopia (blue-blind)
#F7CBBE
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e7d864;
/* rgb */ color: rgb(231, 216, 100);
/* oklch */ color: oklch(87.2% 0.137 102.0);
Tailwind
colors: {
  custom: {
    50: '#f1e394',
    500: '#e7d864',
    950: '#000000',
  },
}
SCSS
$custom: #e7d864;
$custom-light: #f1e394;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d864",
  "rgb": {
    "r": 231,
    "g": 216,
    "b": 100
  },
  "hsl": {
    "h": 53.13,
    "s": 73.184,
    "l": 64.902
  },
  "oklch": {
    "l": 0.87201,
    "c": 0.13748,
    "h": 102
  },
  "luminance": 0.67021
}

Semantic roles & 50–950 ramp

primary
#E7D864
secondary
#3A48B5
accent
#27D510
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E7D864

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

Preview Lab → · Contrast checker → · Palette generator →

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