#E4D178#E4D178

#E4D178 is a very light, moderate yellow. Relative luminance 0.635; OKLCH L 85.8% C 0.112 H 97.6°. Best body text is #000000 at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#E4D178
RGBrgb(228, 209, 120)
HSLhsl(49, 67%, 68%)
HSVhsv(49, 47%, 89%)
CMYKcmyk(0%, 8.3%, 47.4%, 10.6%)
CIE-LABlab(83.68, -5.10, 46.29)
CIE-LCHlch(83.68, 46.57, 96.29°)
OKLaboklab(85.76% -0.0148 0.111)
OKLCHoklch(85.76% 0.112 97.6)
XYZxyz(58.1872, 63.4531, 26.9483)
Luminance0.6345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D178 #788BE4
analogous
#E49B78 #E4D178 #C1E478
triadic
#E4D178 #78E4D1 #D178E4
tetradic
#E4D178 #78E49B #788BE4 #E478C1
square
#E4D178 #78E49B #788BE4 #E478C1
split-complementary
#E4D178 #78C1E4 #9B78E4
monochromatic
#BCA226 #DAC045 #E4D178 #EEE2AB #F8F4DE

Accessibility & contrast

On white

1.53
#E4D178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.69
#E4D178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D178
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D178#FFFFFF#000000##000000
##E4D1781.001.5313.6913.69
#FFFFFF1.531.0021.0021.00
#00000013.6921.001.001.00
##00000013.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CD71
Deuteranopia (green-blind)
#E6D47C
Tritanopia (blue-blind)
#F2C5BC
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e4d178;
/* rgb */ color: rgb(228, 209, 120);
/* oklch */ color: oklch(85.8% 0.112 97.6);
Tailwind
colors: {
  custom: {
    50: '#eedea0',
    500: '#e4d178',
    950: '#000000',
  },
}
SCSS
$custom: #e4d178;
$custom-light: #eedea0;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d178",
  "rgb": {
    "r": 228,
    "g": 209,
    "b": 120
  },
  "hsl": {
    "h": 49.444,
    "s": 66.667,
    "l": 68.235
  },
  "oklch": {
    "l": 0.85758,
    "c": 0.11193,
    "h": 97.6
  },
  "luminance": 0.63451
}

Semantic roles & 50–950 ramp

primary
#E4D178
secondary
#455ABB
accent
#37CF17
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #E4D178

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

Preview Lab → · Contrast checker → · Palette generator →

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