#E8DC79#E8DC79

#E8DC79 is a very light, vivid yellow. Relative luminance 0.697; OKLCH L 88.4% C 0.122 H 102.4°. Best body text is #000000 at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#E8DC79
RGBrgb(232, 220, 121)
HSLhsl(54, 71%, 69%)
HSVhsv(54, 48%, 91%)
CMYKcmyk(0%, 5.2%, 47.8%, 9%)
CIE-LABlab(86.86, -8.98, 49.77)
CIE-LCHlch(86.86, 50.58, 100.23°)
OKLaboklab(88.36% -0.0261 0.1187)
OKLCHoklch(88.36% 0.122 102.4)
XYZxyz(62.3247, 69.7247, 28.2606)
Luminance0.6972 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8DC79 #7985E8
analogous
#E8A579 #E8DC79 #BCE879
triadic
#E8DC79 #79E8DC #DC79E8
tetradic
#E8DC79 #79E8A5 #7985E8 #E879BC
square
#E8DC79 #79E8A5 #7985E8 #E879BC
split-complementary
#E8DC79 #79BCE8 #A579E8
monochromatic
#C5B322 #DFCE45 #E8DC79 #F1EAAD #FAF7E1

Accessibility & contrast

On white

1.41
#E8DC79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.94
#E8DC79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8DC79
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8DC79#FFFFFF#000000##000000
##E8DC791.001.4114.9414.94
#FFFFFF1.411.0021.0021.00
#00000014.9421.001.001.00
##00000014.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD670
Deuteranopia (green-blind)
#F0DC7D
Tritanopia (blue-blind)
#F6D0C5
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e8dc79;
/* rgb */ color: rgb(232, 220, 121);
/* oklch */ color: oklch(88.4% 0.122 102.4);
Tailwind
colors: {
  custom: {
    50: '#f1e6a2',
    500: '#e8dc79',
    950: '#000000',
  },
}
SCSS
$custom: #e8dc79;
$custom-light: #f1e6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#e8dc79",
  "rgb": {
    "r": 232,
    "g": 220,
    "b": 121
  },
  "hsl": {
    "h": 53.514,
    "s": 70.701,
    "l": 69.216
  },
  "oklch": {
    "l": 0.88363,
    "c": 0.12151,
    "h": 102.4
  },
  "luminance": 0.69723
}

Semantic roles & 50–950 ramp

primary
#E8DC79
secondary
#4552C0
accent
#28D313
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #E8DC79

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

Preview Lab → · Contrast checker → · Palette generator →

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