#E8D678#E8D678

#E8D678 is a very light, moderate yellow. Relative luminance 0.666; OKLCH L 87.1% C 0.117 H 98.7°. Best body text is #000000 at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#E8D678
RGBrgb(232, 214, 120)
HSLhsl(50, 71%, 69%)
HSVhsv(50, 48%, 91%)
CMYKcmyk(0%, 7.8%, 48.3%, 9%)
CIE-LABlab(85.31, -6.04, 48.36)
CIE-LCHlch(85.31, 48.74, 97.12°)
OKLaboklab(87.13% -0.0177 0.1155)
OKLCHoklch(87.13% 0.117 98.7)
XYZxyz(60.7172, 66.6072, 27.4238)
Luminance0.6661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D678 #788AE8
analogous
#E89E78 #E8D678 #C2E878
triadic
#E8D678 #78E8D6 #D678E8
tetradic
#E8D678 #78E89E #788AE8 #E878C2
square
#E8D678 #78E89E #788AE8 #E878C2
split-complementary
#E8D678 #78C2E8 #9E78E8
monochromatic
#C4AA21 #DFC644 #E8D678 #F1E6AC #FAF6E1

Accessibility & contrast

On white

1.47
#E8D678 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.32
#E8D678 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D678
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D678#FFFFFF#000000##000000
##E8D6781.001.4714.3214.32
#FFFFFF1.471.0021.0021.00
#00000014.3221.001.001.00
##00000014.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D170
Deuteranopia (green-blind)
#EBD87C
Tritanopia (blue-blind)
#F7CAC0
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e8d678;
/* rgb */ color: rgb(232, 214, 120);
/* oklch */ color: oklch(87.1% 0.117 98.7);
Tailwind
colors: {
  custom: {
    50: '#f1e2a1',
    500: '#e8d678',
    950: '#000000',
  },
}
SCSS
$custom: #e8d678;
$custom-light: #f1e2a1;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d678",
  "rgb": {
    "r": 232,
    "g": 214,
    "b": 120
  },
  "hsl": {
    "h": 50.357,
    "s": 70.886,
    "l": 69.02
  },
  "oklch": {
    "l": 0.87125,
    "c": 0.11684,
    "h": 98.7
  },
  "luminance": 0.66605
}

Semantic roles & 50–950 ramp

primary
#E8D678
secondary
#4458C0
accent
#32D313
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #E8D678

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

Preview Lab → · Contrast checker → · Palette generator →

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