#E4D978#E4D978

#E4D978 is a very light, moderate yellow. Relative luminance 0.675; OKLCH L 87.4% C 0.120 H 102.8°. Best body text is #000000 at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#E4D978
RGBrgb(228, 217, 120)
HSLhsl(54, 67%, 68%)
HSVhsv(54, 47%, 89%)
CMYKcmyk(0%, 4.8%, 47.4%, 10.6%)
CIE-LABlab(85.74, -9.16, 48.82)
CIE-LCHlch(85.74, 49.67, 100.63°)
OKLaboklab(87.39% -0.0265 0.1166)
OKLCHoklch(87.39% 0.12 102.8)
XYZxyz(60.1995, 67.4776, 27.6190)
Luminance0.6748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D978 #7883E4
analogous
#E4A378 #E4D978 #B9E478
triadic
#E4D978 #78E4D9 #D978E4
tetradic
#E4D978 #78E4A3 #7883E4 #E478B9
square
#E4D978 #78E4A3 #7883E4 #E478B9
split-complementary
#E4D978 #78B9E4 #A378E4
monochromatic
#BCAD26 #DACB45 #E4D978 #EEE7AB #F8F6DE

Accessibility & contrast

On white

1.45
#E4D978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.50
#E4D978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D978
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D978#FFFFFF#000000##000000
##E4D9781.001.4514.5014.50
#FFFFFF1.451.0021.0021.00
#00000014.5021.001.001.00
##00000014.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D370
Deuteranopia (green-blind)
#ECD97C
Tritanopia (blue-blind)
#F2CDC2
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e4d978;
/* rgb */ color: rgb(228, 217, 120);
/* oklch */ color: oklch(87.4% 0.120 102.8);
Tailwind
colors: {
  custom: {
    50: '#eee4a1',
    500: '#e4d978',
    950: '#000000',
  },
}
SCSS
$custom: #e4d978;
$custom-light: #eee4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d978",
  "rgb": {
    "r": 228,
    "g": 217,
    "b": 120
  },
  "hsl": {
    "h": 53.889,
    "s": 66.667,
    "l": 68.235
  },
  "oklch": {
    "l": 0.87393,
    "c": 0.11952,
    "h": 102.8
  },
  "luminance": 0.67476
}

Semantic roles & 50–950 ramp

primary
#E4D978
secondary
#4551BB
accent
#2ACF17
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #E4D978

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

Preview Lab → · Contrast checker → · Palette generator →

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