#E8D976#E8D976

#E8D976 is a very light, vivid yellow. Relative luminance 0.681; OKLCH L 87.7% C 0.122 H 100.8°. Best body text is #000000 at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#E8D976
RGBrgb(232, 217, 118)
HSLhsl(52, 71%, 69%)
HSVhsv(52, 49%, 91%)
CMYKcmyk(0%, 6.5%, 49.1%, 9%)
CIE-LABlab(86.05, -7.74, 50.23)
CIE-LCHlch(86.05, 50.82, 98.76°)
OKLaboklab(87.71% -0.0228 0.1195)
OKLCHoklch(87.71% 0.122 100.8)
XYZxyz(61.3633, 68.0916, 27.0467)
Luminance0.6809 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D976 #7685E8
analogous
#E8A076 #E8D976 #BEE876
triadic
#E8D976 #76E8D9 #D976E8
tetradic
#E8D976 #76E8A0 #7685E8 #E876BE
square
#E8D976 #76E8A0 #7685E8 #E876BE
split-complementary
#E8D976 #76BEE8 #A076E8
monochromatic
#C3AE21 #DFCA42 #E8D976 #F1E8AA #FAF6DF

Accessibility & contrast

On white

1.44
#E8D976 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.62
#E8D976 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D976
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D976#FFFFFF#000000##000000
##E8D9761.001.4414.6214.62
#FFFFFF1.441.0021.0021.00
#00000014.6221.001.001.00
##00000014.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D46D
Deuteranopia (green-blind)
#EEDA7A
Tritanopia (blue-blind)
#F7CDC2
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e8d976;
/* rgb */ color: rgb(232, 217, 118);
/* oklch */ color: oklch(87.7% 0.122 100.8);
Tailwind
colors: {
  custom: {
    50: '#f1e49f',
    500: '#e8d976',
    950: '#000000',
  },
}
SCSS
$custom: #e8d976;
$custom-light: #f1e49f;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d976",
  "rgb": {
    "r": 232,
    "g": 217,
    "b": 118
  },
  "hsl": {
    "h": 52.105,
    "s": 71.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.87709,
    "c": 0.12161,
    "h": 100.8
  },
  "luminance": 0.6809
}

Semantic roles & 50–950 ramp

primary
#E8D976
secondary
#4253C0
accent
#2CD312
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #E8D976

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

Preview Lab → · Contrast checker → · Palette generator →

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