#E8DC5A#E8DC5A

#E8DC5A is a very light, vivid yellow. Relative luminance 0.691; OKLCH L 88.0% C 0.149 H 104.0°. Best body text is #000000 at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#E8DC5A
RGBrgb(232, 220, 90)
HSLhsl(55, 76%, 63%)
HSVhsv(55, 61%, 91%)
CMYKcmyk(0%, 5.2%, 61.2%, 9%)
CIE-LABlab(86.54, -11.38, 63.48)
CIE-LCHlch(86.54, 64.49, 100.16°)
OKLaboklab(88.01% -0.0363 0.145)
OKLCHoklch(88.01% 0.149 104)
XYZxyz(60.7196, 69.0826, 19.8067)
Luminance0.6908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8DC5A #5A66E8
analogous
#E8955A #E8DC5A #ADE85A
triadic
#E8DC5A #5AE8DC #DC5AE8
tetradic
#E8DC5A #5AE895 #5A66E8 #E85AAD
square
#E8DC5A #5AE895 #5A66E8 #E85AAD
split-complementary
#E8DC5A #5AADE8 #955AE8
monochromatic
#AFA218 #E1D124 #E8DC5A #EFE790 #F7F3C5

Accessibility & contrast

On white

1.42
#E8DC5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.82
#E8DC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8DC5A
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8DC5A#FFFFFF#000000##000000
##E8DC5A1.001.4214.8214.82
#FFFFFF1.421.0021.0021.00
#00000014.8221.001.001.00
##00000014.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED54B
Deuteranopia (green-blind)
#F2DC61
Tritanopia (blue-blind)
#F8CEC0
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e8dc5a;
/* rgb */ color: rgb(232, 220, 90);
/* oklch */ color: oklch(88.0% 0.149 104.0);
Tailwind
colors: {
  custom: {
    50: '#f2e68e',
    500: '#e8dc5a',
    950: '#000000',
  },
}
SCSS
$custom: #e8dc5a;
$custom-light: #f2e68e;
$custom-dark: #000000;
JSON
{
  "hex": "#e8dc5a",
  "rgb": {
    "r": 232,
    "g": 220,
    "b": 90
  },
  "hsl": {
    "h": 54.93,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.88009,
    "c": 0.14945,
    "h": 104
  },
  "luminance": 0.6908
}

Semantic roles & 50–950 ramp

primary
#E8DC5A
secondary
#3641B0
accent
#1FD80E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E8DC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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