#E4DF78#E4DF78

#E4DF78 is a very light, vivid yellow. Relative luminance 0.706; OKLCH L 88.6% C 0.126 H 106.2°. Best body text is #000000 at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#E4DF78
RGBrgb(228, 223, 120)
HSLhsl(57, 67%, 68%)
HSVhsv(57, 47%, 89%)
CMYKcmyk(0%, 2.2%, 47.4%, 10.6%)
CIE-LABlab(87.30, -12.17, 50.71)
CIE-LCHlch(87.30, 52.15, 103.49°)
OKLaboklab(88.63% -0.0351 0.1207)
OKLCHoklch(88.63% 0.126 106.2)
XYZxyz(61.7742, 70.6271, 28.1440)
Luminance0.7063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DF78 #787DE4
analogous
#E4A978 #E4DF78 #B3E478
triadic
#E4DF78 #78E4DF #DF78E4
tetradic
#E4DF78 #78E4A9 #787DE4 #E478B3
square
#E4DF78 #78E4A9 #787DE4 #E478B3
split-complementary
#E4DF78 #78B3E4 #A978E4
monochromatic
#BCB526 #DAD345 #E4DF78 #EEEBAB #F8F7DE

Accessibility & contrast

On white

1.39
#E4DF78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.13
#E4DF78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4DF78
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4DF78#FFFFFF#000000##000000
##E4DF781.001.3915.1315.13
#FFFFFF1.391.0021.0021.00
#00000015.1321.001.001.00
##00000015.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED86F
Deuteranopia (green-blind)
#F1DD7D
Tritanopia (blue-blind)
#F2D3C7
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e4df78;
/* rgb */ color: rgb(228, 223, 120);
/* oklch */ color: oklch(88.6% 0.126 106.2);
Tailwind
colors: {
  custom: {
    50: '#eee8a1',
    500: '#e4df78',
    950: '#000000',
  },
}
SCSS
$custom: #e4df78;
$custom-light: #eee8a1;
$custom-dark: #000000;
JSON
{
  "hex": "#e4df78",
  "rgb": {
    "r": 228,
    "g": 223,
    "b": 120
  },
  "hsl": {
    "h": 57.222,
    "s": 66.667,
    "l": 68.235
  },
  "oklch": {
    "l": 0.88632,
    "c": 0.12572,
    "h": 106.2
  },
  "luminance": 0.70625
}

Semantic roles & 50–950 ramp

primary
#E4DF78
secondary
#454ABB
accent
#1FCF17
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #E4DF78

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

Preview Lab → · Contrast checker → · Palette generator →

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