#E5D978#E5D978

#E5D978 is a very light, moderate yellow. Relative luminance 0.676; OKLCH L 87.5% C 0.120 H 102.3°. Best body text is #000000 at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#E5D978
RGBrgb(229, 217, 120)
HSLhsl(53, 68%, 68%)
HSVhsv(53, 48%, 90%)
CMYKcmyk(0%, 5.2%, 47.6%, 10.2%)
CIE-LABlab(85.83, -8.76, 48.94)
CIE-LCHlch(85.83, 49.72, 100.15°)
OKLaboklab(87.48% -0.0254 0.1168)
OKLCHoklch(87.48% 0.12 102.3)
XYZxyz(60.5177, 67.6417, 27.6340)
Luminance0.6764 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D978 #7884E5
analogous
#E5A278 #E5D978 #BBE578
triadic
#E5D978 #78E5D9 #D978E5
tetradic
#E5D978 #78E5A2 #7884E5 #E578BB
square
#E5D978 #78E5A2 #7884E5 #E578BB
split-complementary
#E5D978 #78BBE5 #A278E5
monochromatic
#BEAD25 #DBCB45 #E5D978 #EFE7AB #F9F6DF

Accessibility & contrast

On white

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

On black

14.53
#E5D978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D978
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D978#FFFFFF#000000##000000
##E5D9781.001.4514.5314.53
#FFFFFF1.451.0021.0021.00
#00000014.5321.001.001.00
##00000014.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D370
Deuteranopia (green-blind)
#ECD97C
Tritanopia (blue-blind)
#F3CDC2
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e5d978;
/* rgb */ color: rgb(229, 217, 120);
/* oklch */ color: oklch(87.5% 0.120 102.3);
Tailwind
colors: {
  custom: {
    50: '#efe4a1',
    500: '#e5d978',
    950: '#000000',
  },
}
SCSS
$custom: #e5d978;
$custom-light: #efe4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d978",
  "rgb": {
    "r": 229,
    "g": 217,
    "b": 120
  },
  "hsl": {
    "h": 53.394,
    "s": 67.702,
    "l": 68.431
  },
  "oklch": {
    "l": 0.87479,
    "c": 0.11953,
    "h": 102.3
  },
  "luminance": 0.6764
}

Semantic roles & 50–950 ramp

primary
#E5D978
secondary
#4552BD
accent
#2AD016
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #E5D978

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

Preview Lab → · Contrast checker → · Palette generator →

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