#E9D877#E9D877

#E9D877 is a very light, moderate yellow. Relative luminance 0.678; OKLCH L 87.6% C 0.120 H 99.6°. Best body text is #000000 at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#E9D877
RGBrgb(233, 216, 119)
HSLhsl(51, 72%, 69%)
HSVhsv(51, 49%, 91%)
CMYKcmyk(0%, 7.3%, 48.9%, 8.6%)
CIE-LABlab(85.89, -6.74, 49.57)
CIE-LCHlch(85.89, 50.03, 97.74°)
OKLaboklab(87.61% -0.0199 0.1181)
OKLCHoklch(87.61% 0.12 99.6)
XYZxyz(61.4917, 67.7695, 27.2909)
Luminance0.6777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9D877 #7788E9
analogous
#E99F77 #E9D877 #C1E977
triadic
#E9D877 #77E9D8 #D877E9
tetradic
#E9D877 #77E99F #7788E9 #E977C1
square
#E9D877 #77E99F #7788E9 #E977C1
split-complementary
#E9D877 #77C1E9 #9F77E9
monochromatic
#C6AD20 #E0C942 #E9D877 #F2E7AC #FAF6E0

Accessibility & contrast

On white

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

On black

14.55
#E9D877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9D877
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9D877#FFFFFF#000000##000000
##E9D8771.001.4414.5514.55
#FFFFFF1.441.0021.0021.00
#00000014.5521.001.001.00
##00000014.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e9d877;
/* rgb */ color: rgb(233, 216, 119);
/* oklch */ color: oklch(87.6% 0.120 99.6);
Tailwind
colors: {
  custom: {
    50: '#f2e3a0',
    500: '#e9d877',
    950: '#000000',
  },
}
SCSS
$custom: #e9d877;
$custom-light: #f2e3a0;
$custom-dark: #000000;
JSON
{
  "hex": "#e9d877",
  "rgb": {
    "r": 233,
    "g": 216,
    "b": 119
  },
  "hsl": {
    "h": 51.053,
    "s": 72.152,
    "l": 69.02
  },
  "oklch": {
    "l": 0.87606,
    "c": 0.11975,
    "h": 99.6
  },
  "luminance": 0.67767
}

Semantic roles & 50–950 ramp

primary
#E9D877
secondary
#4356C1
accent
#2ED411
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #E9D877

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

Preview Lab → · Contrast checker → · Palette generator →

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