#E8D771#E8D771

#E8D771 is a very light, vivid yellow. Relative luminance 0.669; OKLCH L 87.2% C 0.125 H 100.0°. Best body text is #000000 at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#E8D771
RGBrgb(232, 215, 113)
HSLhsl(51, 72%, 68%)
HSVhsv(51, 51%, 91%)
CMYKcmyk(0%, 7.3%, 51.3%, 9%)
CIE-LABlab(85.48, -7.16, 51.92)
CIE-LCHlch(85.48, 52.41, 97.85°)
OKLaboklab(87.24% -0.0217 0.1227)
OKLCHoklch(87.24% 0.125 100)
XYZxyz(60.5617, 66.9512, 25.3523)
Luminance0.6695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D771 #7182E8
analogous
#E89C71 #E8D771 #BDE871
triadic
#E8D771 #71E8D7 #D771E8
tetradic
#E8D771 #71E89C #7182E8 #E871BD
square
#E8D771 #71E89C #7182E8 #E871BD
split-complementary
#E8D771 #71BDE8 #9C71E8
monochromatic
#C0A91F #DFC83C #E8D771 #F1E6A6 #F9F5DA

Accessibility & contrast

On white

1.46
#E8D771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.39
#E8D771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D771
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D771#FFFFFF#000000##000000
##E8D7711.001.4614.3914.39
#FFFFFF1.461.0021.0021.00
#00000014.3921.001.001.00
##00000014.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D268
Deuteranopia (green-blind)
#EDD976
Tritanopia (blue-blind)
#F7CABF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e8d771;
/* rgb */ color: rgb(232, 215, 113);
/* oklch */ color: oklch(87.2% 0.125 100.0);
Tailwind
colors: {
  custom: {
    50: '#f2e39c',
    500: '#e8d771',
    950: '#000000',
  },
}
SCSS
$custom: #e8d771;
$custom-light: #f2e39c;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d771",
  "rgb": {
    "r": 232,
    "g": 215,
    "b": 113
  },
  "hsl": {
    "h": 51.429,
    "s": 72.121,
    "l": 67.647
  },
  "oklch": {
    "l": 0.87236,
    "c": 0.12464,
    "h": 100
  },
  "luminance": 0.66949
}

Semantic roles & 50–950 ramp

primary
#E8D771
secondary
#3F51BF
accent
#2DD411
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E8D771

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

Preview Lab → · Contrast checker → · Palette generator →

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