#E4DB78#E4DB78

#E4DB78 is a very light, vivid yellow. Relative luminance 0.685; OKLCH L 87.8% C 0.122 H 104.0°. Best body text is #000000 at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#E4DB78
RGBrgb(228, 219, 120)
HSLhsl(55, 67%, 68%)
HSVhsv(55, 47%, 89%)
CMYKcmyk(0%, 3.9%, 47.4%, 10.6%)
CIE-LABlab(86.26, -10.17, 49.45)
CIE-LCHlch(86.26, 50.48, 101.62°)
OKLaboklab(87.81% -0.0294 0.118)
OKLCHoklch(87.81% 0.122 104)
XYZxyz(60.7181, 68.5149, 27.7919)
Luminance0.6851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DB78 #7881E4
analogous
#E4A578 #E4DB78 #B7E478
triadic
#E4DB78 #78E4DB #DB78E4
tetradic
#E4DB78 #78E4A5 #7881E4 #E478B7
square
#E4DB78 #78E4A5 #7881E4 #E478B7
split-complementary
#E4DB78 #78B7E4 #A578E4
monochromatic
#BCAF26 #DACD45 #E4DB78 #EEE9AB #F8F6DE

Accessibility & contrast

On white

1.43
#E4DB78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.70
#E4DB78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4DB78
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4DB78#FFFFFF#000000##000000
##E4DB781.001.4314.7014.70
#FFFFFF1.431.0021.0021.00
#00000014.7021.001.001.00
##00000014.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD570
Deuteranopia (green-blind)
#EEDA7C
Tritanopia (blue-blind)
#F2CFC4
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e4db78;
/* rgb */ color: rgb(228, 219, 120);
/* oklch */ color: oklch(87.8% 0.122 104.0);
Tailwind
colors: {
  custom: {
    50: '#eee6a1',
    500: '#e4db78',
    950: '#000000',
  },
}
SCSS
$custom: #e4db78;
$custom-light: #eee6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#e4db78",
  "rgb": {
    "r": 228,
    "g": 219,
    "b": 120
  },
  "hsl": {
    "h": 55,
    "s": 66.667,
    "l": 68.235
  },
  "oklch": {
    "l": 0.87805,
    "c": 0.12155,
    "h": 104
  },
  "luminance": 0.68513
}

Semantic roles & 50–950 ramp

primary
#E4DB78
secondary
#454FBB
accent
#26CF17
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #E4DB78

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

Preview Lab → · Contrast checker → · Palette generator →

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