#E4DC78#E4DC78

#E4DC78 is a very light, vivid yellow. Relative luminance 0.690; OKLCH L 88.0% C 0.123 H 104.6°. Best body text is #000000 at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#E4DC78
RGBrgb(228, 220, 120)
HSLhsl(56, 67%, 68%)
HSVhsv(56, 47%, 89%)
CMYKcmyk(0%, 3.5%, 47.4%, 10.6%)
CIE-LABlab(86.52, -10.67, 49.76)
CIE-LCHlch(86.52, 50.89, 102.10°)
OKLaboklab(88.01% -0.0308 0.1186)
OKLCHoklch(88.01% 0.123 104.6)
XYZxyz(60.9798, 69.0382, 27.8791)
Luminance0.6904 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DC78 #7880E4
analogous
#E4A678 #E4DC78 #B6E478
triadic
#E4DC78 #78E4DC #DC78E4
tetradic
#E4DC78 #78E4A6 #7880E4 #E478B6
square
#E4DC78 #78E4A6 #7880E4 #E478B6
split-complementary
#E4DC78 #78B6E4 #A678E4
monochromatic
#BCB126 #DACF45 #E4DC78 #EEE9AB #F8F6DE

Accessibility & contrast

On white

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

On black

14.81
#E4DC78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4DC78
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4DC78#FFFFFF#000000##000000
##E4DC781.001.4214.8114.81
#FFFFFF1.421.0021.0021.00
#00000014.8121.001.001.00
##00000014.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD66F
Deuteranopia (green-blind)
#EEDB7D
Tritanopia (blue-blind)
#F2D0C5
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e4dc78;
/* rgb */ color: rgb(228, 220, 120);
/* oklch */ color: oklch(88.0% 0.123 104.6);
Tailwind
colors: {
  custom: {
    50: '#eee6a1',
    500: '#e4dc78',
    950: '#000000',
  },
}
SCSS
$custom: #e4dc78;
$custom-light: #eee6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#e4dc78",
  "rgb": {
    "r": 228,
    "g": 220,
    "b": 120
  },
  "hsl": {
    "h": 55.556,
    "s": 66.667,
    "l": 68.235
  },
  "oklch": {
    "l": 0.88011,
    "c": 0.12258,
    "h": 104.6
  },
  "luminance": 0.69036
}

Semantic roles & 50–950 ramp

primary
#E4DC78
secondary
#454EBB
accent
#25CF17
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #E4DC78

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

Preview Lab → · Contrast checker → · Palette generator →

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