#E8D960#E8D960

#E8D960 is a very light, vivid yellow. Relative luminance 0.676; OKLCH L 87.5% C 0.142 H 102.3°. Best body text is #000000 at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#E8D960
RGBrgb(232, 217, 96)
HSLhsl(53, 75%, 64%)
HSVhsv(53, 59%, 91%)
CMYKcmyk(0%, 6.5%, 58.6%, 9%)
CIE-LABlab(85.82, -9.47, 60.10)
CIE-LCHlch(85.82, 60.84, 98.96°)
OKLaboklab(87.45% -0.0302 0.1386)
OKLCHoklch(87.45% 0.142 102.3)
XYZxyz(60.2050, 67.6283, 20.9463)
Luminance0.6763 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D960 #606FE8
analogous
#E89560 #E8D960 #B3E860
triadic
#E8D960 #60E8D9 #D960E8
tetradic
#E8D960 #60E895 #606FE8 #E860B3
square
#E8D960 #60E895 #606FE8 #E860B3
split-complementary
#E8D960 #60B3E8 #9560E8
monochromatic
#B4A31A #E0CC2B #E8D960 #F0E695 #F7F3CB

Accessibility & contrast

On white

1.45
#E8D960 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.53
#E8D960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D960
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D960#FFFFFF#000000##000000
##E8D9601.001.4514.5314.53
#FFFFFF1.451.0021.0021.00
#00000014.5321.001.001.00
##00000014.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD353
Deuteranopia (green-blind)
#EFDA66
Tritanopia (blue-blind)
#F8CBBF
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e8d960;
/* rgb */ color: rgb(232, 217, 96);
/* oklch */ color: oklch(87.5% 0.142 102.3);
Tailwind
colors: {
  custom: {
    50: '#f2e491',
    500: '#e8d960',
    950: '#000000',
  },
}
SCSS
$custom: #e8d960;
$custom-light: #f2e491;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d960",
  "rgb": {
    "r": 232,
    "g": 217,
    "b": 96
  },
  "hsl": {
    "h": 53.382,
    "s": 74.725,
    "l": 64.314
  },
  "oklch": {
    "l": 0.8745,
    "c": 0.14182,
    "h": 102.3
  },
  "luminance": 0.67626
}

Semantic roles & 50–950 ramp

primary
#E8D960
secondary
#3846B4
accent
#25D70F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E8D960

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

Preview Lab → · Contrast checker → · Palette generator →

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