#E8D578#E8D578

#E8D578 is a very light, moderate yellow. Relative luminance 0.661; OKLCH L 86.9% C 0.116 H 98.1°. Best body text is #000000 at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#E8D578
RGBrgb(232, 213, 120)
HSLhsl(50, 71%, 69%)
HSVhsv(50, 48%, 91%)
CMYKcmyk(0%, 8.2%, 48.3%, 9%)
CIE-LABlab(85.05, -5.53, 48.05)
CIE-LCHlch(85.05, 48.36, 96.57°)
OKLaboklab(86.92% -0.0162 0.1148)
OKLCHoklch(86.92% 0.116 98.1)
XYZxyz(60.4649, 66.1026, 27.3397)
Luminance0.6610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D578 #788BE8
analogous
#E89D78 #E8D578 #C3E878
triadic
#E8D578 #78E8D5 #D578E8
tetradic
#E8D578 #78E89D #788BE8 #E878C3
square
#E8D578 #78E89D #788BE8 #E878C3
split-complementary
#E8D578 #78C3E8 #9D78E8
monochromatic
#C4A921 #DFC544 #E8D578 #F1E5AC #FAF6E1

Accessibility & contrast

On white

1.48
#E8D578 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.22
#E8D578 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D578
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D578#FFFFFF#000000##000000
##E8D5781.001.4814.2214.22
#FFFFFF1.481.0021.0021.00
#00000014.2221.001.001.00
##00000014.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D170
Deuteranopia (green-blind)
#EAD77C
Tritanopia (blue-blind)
#F7C9BF
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e8d578;
/* rgb */ color: rgb(232, 213, 120);
/* oklch */ color: oklch(86.9% 0.116 98.1);
Tailwind
colors: {
  custom: {
    50: '#f1e1a1',
    500: '#e8d578',
    950: '#000000',
  },
}
SCSS
$custom: #e8d578;
$custom-light: #f1e1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d578",
  "rgb": {
    "r": 232,
    "g": 213,
    "b": 120
  },
  "hsl": {
    "h": 49.821,
    "s": 70.886,
    "l": 69.02
  },
  "oklch": {
    "l": 0.86922,
    "c": 0.11593,
    "h": 98.1
  },
  "luminance": 0.661
}

Semantic roles & 50–950 ramp

primary
#E8D578
secondary
#4459C0
accent
#33D313
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #E8D578

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

Preview Lab → · Contrast checker → · Palette generator →

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