#E8D970#E8D970

#E8D970 is a very light, vivid yellow. Relative luminance 0.680; OKLCH L 87.6% C 0.127 H 101.3°. Best body text is #000000 at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#E8D970
RGBrgb(232, 217, 112)
HSLhsl(53, 72%, 67%)
HSVhsv(53, 52%, 91%)
CMYKcmyk(0%, 6.5%, 51.7%, 9%)
CIE-LABlab(85.98, -8.25, 52.99)
CIE-LCHlch(85.98, 53.63, 98.85°)
OKLaboklab(87.63% -0.0249 0.125)
OKLCHoklch(87.63% 0.127 101.3)
XYZxyz(61.0181, 67.9535, 25.2283)
Luminance0.6795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D970 #707FE8
analogous
#E89D70 #E8D970 #BBE870
triadic
#E8D970 #70E8D9 #D970E8
tetradic
#E8D970 #70E89D #707FE8 #E870BB
square
#E8D970 #70E89D #707FE8 #E870BB
split-complementary
#E8D970 #70BBE8 #9D70E8
monochromatic
#BFAB1F #E0CB3B #E8D970 #F0E7A5 #F9F5D9

Accessibility & contrast

On white

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

On black

14.59
#E8D970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D970
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D970#FFFFFF#000000##000000
##E8D9701.001.4414.5914.59
#FFFFFF1.441.0021.0021.00
#00000014.5921.001.001.00
##00000014.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD366
Deuteranopia (green-blind)
#EEDA75
Tritanopia (blue-blind)
#F7CCC1
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e8d970;
/* rgb */ color: rgb(232, 217, 112);
/* oklch */ color: oklch(87.6% 0.127 101.3);
Tailwind
colors: {
  custom: {
    50: '#f2e49c',
    500: '#e8d970',
    950: '#000000',
  },
}
SCSS
$custom: #e8d970;
$custom-light: #f2e49c;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d970",
  "rgb": {
    "r": 232,
    "g": 217,
    "b": 112
  },
  "hsl": {
    "h": 52.5,
    "s": 72.289,
    "l": 67.451
  },
  "oklch": {
    "l": 0.87632,
    "c": 0.12745,
    "h": 101.3
  },
  "luminance": 0.67951
}

Semantic roles & 50–950 ramp

primary
#E8D970
secondary
#3E4EBE
accent
#2AD411
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E8D970

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

Preview Lab → · Contrast checker → · Palette generator →

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