#E8D770#E8D770

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

Color values

HEX#E8D770
RGBrgb(232, 215, 112)
HSLhsl(52, 72%, 67%)
HSVhsv(52, 52%, 91%)
CMYKcmyk(0%, 7.3%, 51.7%, 9%)
CIE-LABlab(85.47, -7.24, 52.38)
CIE-LCHlch(85.47, 52.88, 97.87°)
OKLaboklab(87.22% -0.022 0.1237)
OKLCHoklch(87.22% 0.126 100.1)
XYZxyz(60.5057, 66.9288, 25.0575)
Luminance0.6693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D770 #7081E8
analogous
#E89B70 #E8D770 #BDE870
triadic
#E8D770 #70E8D7 #D770E8
tetradic
#E8D770 #70E89B #7081E8 #E870BD
square
#E8D770 #70E89B #7081E8 #E870BD
split-complementary
#E8D770 #70BDE8 #9B70E8
monochromatic
#BFA81F #E0C83B #E8D770 #F0E6A5 #F9F4D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E8D770#FFFFFF#000000##000000
##E8D7701.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)
#E8D267
Deuteranopia (green-blind)
#EDD975
Tritanopia (blue-blind)
#F7CABF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e8d770;
/* rgb */ color: rgb(232, 215, 112);
/* oklch */ color: oklch(87.2% 0.126 100.1);
Tailwind
colors: {
  custom: {
    50: '#f2e39b',
    500: '#e8d770',
    950: '#000000',
  },
}
SCSS
$custom: #e8d770;
$custom-light: #f2e39b;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d770",
  "rgb": {
    "r": 232,
    "g": 215,
    "b": 112
  },
  "hsl": {
    "h": 51.5,
    "s": 72.289,
    "l": 67.451
  },
  "oklch": {
    "l": 0.87224,
    "c": 0.12561,
    "h": 100.1
  },
  "luminance": 0.66927
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E8D770

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

Preview Lab → · Contrast checker → · Palette generator →

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