#E8DC5B#E8DC5B

#E8DC5B 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#E8DC5B
RGBrgb(232, 220, 91)
HSLhsl(55, 75%, 63%)
HSVhsv(55, 61%, 91%)
CMYKcmyk(0%, 5.2%, 60.8%, 9%)
CIE-LABlab(86.55, -11.31, 63.07)
CIE-LCHlch(86.55, 64.07, 100.17°)
OKLaboklab(88.02% -0.036 0.1442)
OKLCHoklch(88.02% 0.149 104)
XYZxyz(60.7624, 69.0997, 20.0324)
Luminance0.6910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8DC5B #5B67E8
analogous
#E8955B #E8DC5B #ADE85B
triadic
#E8DC5B #5BE8DC #DC5BE8
tetradic
#E8DC5B #5BE895 #5B67E8 #E85BAD
square
#E8DC5B #5BE895 #5B67E8 #E85BAD
split-complementary
#E8DC5B #5BADE8 #955BE8
monochromatic
#B0A319 #E0D125 #E8DC5B #F0E791 #F7F3C6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E8DC5B#FFFFFF#000000##000000
##E8DC5B1.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)
#EED54C
Deuteranopia (green-blind)
#F2DC62
Tritanopia (blue-blind)
#F8CEC1
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e8dc5b;
/* rgb */ color: rgb(232, 220, 91);
/* oklch */ color: oklch(88.0% 0.149 104.0);
Tailwind
colors: {
  custom: {
    50: '#f2e68e',
    500: '#e8dc5b',
    950: '#000000',
  },
}
SCSS
$custom: #e8dc5b;
$custom-light: #f2e68e;
$custom-dark: #000000;
JSON
{
  "hex": "#e8dc5b",
  "rgb": {
    "r": 232,
    "g": 220,
    "b": 91
  },
  "hsl": {
    "h": 54.894,
    "s": 75.401,
    "l": 63.333
  },
  "oklch": {
    "l": 0.88019,
    "c": 0.14866,
    "h": 104
  },
  "luminance": 0.69098
}

Semantic roles & 50–950 ramp

primary
#E8DC5B
secondary
#3741B1
accent
#1FD80E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E8DC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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