#E7D877#E7D877

#E7D877 is a very light, moderate yellow. Relative luminance 0.674; OKLCH L 87.4% C 0.120 H 100.6°. Best body text is #000000 at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#E7D877
RGBrgb(231, 216, 119)
HSLhsl(52, 70%, 69%)
HSVhsv(52, 48%, 91%)
CMYKcmyk(0%, 6.5%, 48.5%, 9.4%)
CIE-LABlab(85.72, -7.54, 49.33)
CIE-LCHlch(85.72, 49.90, 98.70°)
OKLaboklab(87.43% -0.0221 0.1176)
OKLCHoklch(87.43% 0.12 100.6)
XYZxyz(60.8424, 67.4346, 27.2605)
Luminance0.6743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D877 #7786E7
analogous
#E7A077 #E7D877 #BEE777
triadic
#E7D877 #77E7D8 #D877E7
tetradic
#E7D877 #77E7A0 #7786E7 #E777BE
square
#E7D877 #77E7A0 #7786E7 #E777BE
split-complementary
#E7D877 #77BEE7 #A077E7
monochromatic
#C1AC22 #DEC943 #E7D877 #F0E7AB #F9F6DF

Accessibility & contrast

On white

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

On black

14.49
#E7D877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D877
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D877#FFFFFF#000000##000000
##E7D8771.001.4514.4914.49
#FFFFFF1.451.0021.0021.00
#00000014.4921.001.001.00
##00000014.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D36F
Deuteranopia (green-blind)
#ECD97B
Tritanopia (blue-blind)
#F6CCC1
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e7d877;
/* rgb */ color: rgb(231, 216, 119);
/* oklch */ color: oklch(87.4% 0.120 100.6);
Tailwind
colors: {
  custom: {
    50: '#f1e3a0',
    500: '#e7d877',
    950: '#000000',
  },
}
SCSS
$custom: #e7d877;
$custom-light: #f1e3a0;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d877",
  "rgb": {
    "r": 231,
    "g": 216,
    "b": 119
  },
  "hsl": {
    "h": 51.964,
    "s": 70,
    "l": 68.627
  },
  "oklch": {
    "l": 0.87432,
    "c": 0.11963,
    "h": 100.6
  },
  "luminance": 0.67433
}

Semantic roles & 50–950 ramp

primary
#E7D877
secondary
#4354BF
accent
#2DD214
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #E7D877

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

Preview Lab → · Contrast checker → · Palette generator →

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