#E8D478#E8D478

#E8D478 is a very light, moderate yellow. Relative luminance 0.656; OKLCH L 86.7% C 0.115 H 97.4°. Best body text is #000000 at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#E8D478
RGBrgb(232, 212, 120)
HSLhsl(49, 71%, 69%)
HSVhsv(49, 48%, 91%)
CMYKcmyk(0%, 8.6%, 48.3%, 9%)
CIE-LABlab(84.79, -5.02, 47.73)
CIE-LCHlch(84.79, 48.00, 96.01°)
OKLaboklab(86.72% -0.0148 0.1141)
OKLCHoklch(86.72% 0.115 97.4)
XYZxyz(60.2142, 65.6011, 27.2561)
Luminance0.6560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D478 #788CE8
analogous
#E89C78 #E8D478 #C4E878
triadic
#E8D478 #78E8D4 #D478E8
tetradic
#E8D478 #78E89C #788CE8 #E878C4
square
#E8D478 #78E89C #788CE8 #E878C4
split-complementary
#E8D478 #78C4E8 #9C78E8
monochromatic
#C4A721 #DFC344 #E8D478 #F1E5AC #FAF5E1

Accessibility & contrast

On white

1.49
#E8D478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.12
#E8D478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D478
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D478#FFFFFF#000000##000000
##E8D4781.001.4914.1214.12
#FFFFFF1.491.0021.0021.00
#00000014.1221.001.001.00
##00000014.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D070
Deuteranopia (green-blind)
#EAD77C
Tritanopia (blue-blind)
#F7C8BE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e8d478;
/* rgb */ color: rgb(232, 212, 120);
/* oklch */ color: oklch(86.7% 0.115 97.4);
Tailwind
colors: {
  custom: {
    50: '#f1e1a1',
    500: '#e8d478',
    950: '#000000',
  },
}
SCSS
$custom: #e8d478;
$custom-light: #f1e1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d478",
  "rgb": {
    "r": 232,
    "g": 212,
    "b": 120
  },
  "hsl": {
    "h": 49.286,
    "s": 70.886,
    "l": 69.02
  },
  "oklch": {
    "l": 0.8672,
    "c": 0.11505,
    "h": 97.4
  },
  "luminance": 0.65599
}

Semantic roles & 50–950 ramp

primary
#E8D478
secondary
#445AC0
accent
#35D313
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #E8D478

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

Preview Lab → · Contrast checker → · Palette generator →

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