#E8DC5C#E8DC5C

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

Color values

HEX#E8DC5C
RGBrgb(232, 220, 92)
HSLhsl(55, 75%, 64%)
HSVhsv(55, 60%, 91%)
CMYKcmyk(0%, 5.2%, 60.3%, 9%)
CIE-LABlab(86.56, -11.25, 62.65)
CIE-LCHlch(86.56, 63.65, 100.18°)
OKLaboklab(88.03% -0.0357 0.1435)
OKLCHoklch(88.03% 0.148 104)
XYZxyz(60.8058, 69.1171, 20.2611)
Luminance0.6912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8DC5C #5C68E8
analogous
#E8965C #E8DC5C #AEE85C
triadic
#E8DC5C #5CE8DC #DC5CE8
tetradic
#E8DC5C #5CE896 #5C68E8 #E85CAE
square
#E8DC5C #5CE896 #5C68E8 #E85CAE
split-complementary
#E8DC5C #5CAEE8 #965CE8
monochromatic
#B1A419 #E0D026 #E8DC5C #F0E892 #F7F3C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E8DC5C#FFFFFF#000000##000000
##E8DC5C1.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)
#EED54D
Deuteranopia (green-blind)
#F2DC63
Tritanopia (blue-blind)
#F8CEC1
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e8dc5c;
/* rgb */ color: rgb(232, 220, 92);
/* oklch */ color: oklch(88.0% 0.148 104.0);
Tailwind
colors: {
  custom: {
    50: '#f2e68f',
    500: '#e8dc5c',
    950: '#000000',
  },
}
SCSS
$custom: #e8dc5c;
$custom-light: #f2e68f;
$custom-dark: #000000;
JSON
{
  "hex": "#e8dc5c",
  "rgb": {
    "r": 232,
    "g": 220,
    "b": 92
  },
  "hsl": {
    "h": 54.857,
    "s": 75.269,
    "l": 63.529
  },
  "oklch": {
    "l": 0.88028,
    "c": 0.14786,
    "h": 104
  },
  "luminance": 0.69115
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E8DC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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