#E8D460#E8D460

#E8D460 is a very light, vivid yellow. Relative luminance 0.651; OKLCH L 86.4% C 0.137 H 99.6°. Best body text is #000000 at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#E8D460
RGBrgb(232, 212, 96)
HSLhsl(51, 75%, 64%)
HSVhsv(51, 59%, 91%)
CMYKcmyk(0%, 8.6%, 58.6%, 9%)
CIE-LABlab(84.53, -6.95, 58.66)
CIE-LCHlch(84.53, 59.07, 96.76°)
OKLaboklab(86.43% -0.023 0.1355)
OKLCHoklch(86.43% 0.137 99.6)
XYZxyz(58.9358, 65.0897, 20.5232)
Luminance0.6509 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D460 #6074E8
analogous
#E89060 #E8D460 #B8E860
triadic
#E8D460 #60E8D4 #D460E8
tetradic
#E8D460 #60E890 #6074E8 #E860B8
square
#E8D460 #60E890 #6074E8 #E860B8
split-complementary
#E8D460 #60B8E8 #9060E8
monochromatic
#B49D1A #E0C62B #E8D460 #F0E295 #F7F1CB

Accessibility & contrast

On white

1.50
#E8D460 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.02
#E8D460 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D460
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D460#FFFFFF#000000##000000
##E8D4601.001.5014.0214.02
#FFFFFF1.501.0021.0021.00
#00000014.0221.001.001.00
##00000014.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CF54
Deuteranopia (green-blind)
#ECD666
Tritanopia (blue-blind)
#F8C6BB
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #e8d460;
/* rgb */ color: rgb(232, 212, 96);
/* oklch */ color: oklch(86.4% 0.137 99.6);
Tailwind
colors: {
  custom: {
    50: '#f2e091',
    500: '#e8d460',
    950: '#000000',
  },
}
SCSS
$custom: #e8d460;
$custom-light: #f2e091;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d460",
  "rgb": {
    "r": 232,
    "g": 212,
    "b": 96
  },
  "hsl": {
    "h": 51.176,
    "s": 74.725,
    "l": 64.314
  },
  "oklch": {
    "l": 0.86427,
    "c": 0.13742,
    "h": 99.6
  },
  "luminance": 0.65087
}

Semantic roles & 50–950 ramp

primary
#E8D460
secondary
#384AB4
accent
#2CD70F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E8D460

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

Preview Lab → · Contrast checker → · Palette generator →

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