#E8DC5D#E8DC5D

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

Color values

HEX#E8DC5D
RGBrgb(232, 220, 93)
HSLhsl(55, 75%, 64%)
HSVhsv(55, 60%, 91%)
CMYKcmyk(0%, 5.2%, 59.9%, 9%)
CIE-LABlab(86.57, -11.18, 62.23)
CIE-LCHlch(86.57, 63.23, 100.19°)
OKLaboklab(88.04% -0.0354 0.1427)
OKLCHoklch(88.04% 0.147 103.9)
XYZxyz(60.8499, 69.1347, 20.4928)
Luminance0.6913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8DC5D #5D69E8
analogous
#E8965D #E8DC5D #AEE85D
triadic
#E8DC5D #5DE8DC #DC5DE8
tetradic
#E8DC5D #5DE896 #5D69E8 #E85DAE
square
#E8DC5D #5DE896 #5D69E8 #E85DAE
split-complementary
#E8DC5D #5DAEE8 #965DE8
monochromatic
#B1A419 #E0D027 #E8DC5D #F0E893 #F7F3C8

Accessibility & contrast

On white

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

On black

14.83
#E8DC5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8DC5D
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8DC5D#FFFFFF#000000##000000
##E8DC5D1.001.4214.8314.83
#FFFFFF1.421.0021.0021.00
#00000014.8321.001.001.00
##00000014.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED54F
Deuteranopia (green-blind)
#F2DC64
Tritanopia (blue-blind)
#F8CEC1
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e8dc5d;
/* rgb */ color: rgb(232, 220, 93);
/* oklch */ color: oklch(88.0% 0.147 103.9);
Tailwind
colors: {
  custom: {
    50: '#f2e690',
    500: '#e8dc5d',
    950: '#000000',
  },
}
SCSS
$custom: #e8dc5d;
$custom-light: #f2e690;
$custom-dark: #000000;
JSON
{
  "hex": "#e8dc5d",
  "rgb": {
    "r": 232,
    "g": 220,
    "b": 93
  },
  "hsl": {
    "h": 54.82,
    "s": 75.135,
    "l": 63.725
  },
  "oklch": {
    "l": 0.88038,
    "c": 0.14705,
    "h": 103.9
  },
  "luminance": 0.69133
}

Semantic roles & 50–950 ramp

primary
#E8DC5D
secondary
#3742B2
accent
#20D70E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E8DC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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