#E8D877#E8D877

#E8D877 is a very light, moderate yellow. Relative luminance 0.676; OKLCH L 87.5% C 0.120 H 100.1°. Best body text is #000000 at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#E8D877
RGBrgb(232, 216, 119)
HSLhsl(52, 71%, 69%)
HSVhsv(52, 49%, 91%)
CMYKcmyk(0%, 6.9%, 48.7%, 9%)
CIE-LABlab(85.81, -7.14, 49.45)
CIE-LCHlch(85.81, 49.97, 98.22°)
OKLaboklab(87.52% -0.021 0.1178)
OKLCHoklch(87.52% 0.12 100.1)
XYZxyz(61.1661, 67.6016, 27.2756)
Luminance0.6760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D877 #7787E8
analogous
#E8A077 #E8D877 #C0E877
triadic
#E8D877 #77E8D8 #D877E8
tetradic
#E8D877 #77E8A0 #7787E8 #E877C0
square
#E8D877 #77E8A0 #7787E8 #E877C0
split-complementary
#E8D877 #77C0E8 #A077E8
monochromatic
#C4AD21 #DFC943 #E8D877 #F1E7AB #FAF6E0

Accessibility & contrast

On white

1.45
#E8D877 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.52
#E8D877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D877
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D877#FFFFFF#000000##000000
##E8D8771.001.4514.5214.52
#FFFFFF1.451.0021.0021.00
#00000014.5221.001.001.00
##00000014.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e8d877;
/* rgb */ color: rgb(232, 216, 119);
/* oklch */ color: oklch(87.5% 0.120 100.1);
Tailwind
colors: {
  custom: {
    50: '#f1e3a0',
    500: '#e8d877',
    950: '#000000',
  },
}
SCSS
$custom: #e8d877;
$custom-light: #f1e3a0;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d877",
  "rgb": {
    "r": 232,
    "g": 216,
    "b": 119
  },
  "hsl": {
    "h": 51.504,
    "s": 71.069,
    "l": 68.824
  },
  "oklch": {
    "l": 0.87519,
    "c": 0.11968,
    "h": 100.1
  },
  "luminance": 0.67599
}

Semantic roles & 50–950 ramp

primary
#E8D877
secondary
#4355C0
accent
#2ED312
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #E8D877

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

Preview Lab → · Contrast checker → · Palette generator →

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