#E8D77A#E8D77A

#E8D77A is a very light, moderate yellow. Relative luminance 0.672; OKLCH L 87.4% C 0.116 H 99.2°. Best body text is #000000 at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#E8D77A
RGBrgb(232, 215, 122)
HSLhsl(51, 71%, 69%)
HSVhsv(51, 47%, 91%)
CMYKcmyk(0%, 7.3%, 47.4%, 9%)
CIE-LABlab(85.59, -6.37, 47.73)
CIE-LCHlch(85.59, 48.16, 97.60°)
OKLaboklab(87.36% -0.0185 0.1143)
OKLCHoklch(87.36% 0.116 99.2)
XYZxyz(61.0937, 67.1640, 28.1544)
Luminance0.6716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D77A #7A8BE8
analogous
#E8A07A #E8D77A #C2E87A
triadic
#E8D77A #7AE8D7 #D77AE8
tetradic
#E8D77A #7AE8A0 #7A8BE8 #E87AC2
square
#E8D77A #7AE8A0 #7A8BE8 #E87AC2
split-complementary
#E8D77A #7AC2E8 #A07AE8
monochromatic
#C5AC22 #DFC746 #E8D77A #F1E7AE #FAF6E2

Accessibility & contrast

On white

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

On black

14.43
#E8D77A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D77A
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D77A#FFFFFF#000000##000000
##E8D77A1.001.4614.4314.43
#FFFFFF1.461.0021.0021.00
#00000014.4321.001.001.00
##00000014.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D272
Deuteranopia (green-blind)
#ECD97E
Tritanopia (blue-blind)
#F7CBC1
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e8d77a;
/* rgb */ color: rgb(232, 215, 122);
/* oklch */ color: oklch(87.4% 0.116 99.2);
Tailwind
colors: {
  custom: {
    50: '#f1e3a2',
    500: '#e8d77a',
    950: '#000000',
  },
}
SCSS
$custom: #e8d77a;
$custom-light: #f1e3a2;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d77a",
  "rgb": {
    "r": 232,
    "g": 215,
    "b": 122
  },
  "hsl": {
    "h": 50.727,
    "s": 70.513,
    "l": 69.412
  },
  "oklch": {
    "l": 0.87356,
    "c": 0.11573,
    "h": 99.2
  },
  "luminance": 0.67162
}

Semantic roles & 50–950 ramp

primary
#E8D77A
secondary
#4659C0
accent
#31D313
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #E8D77A

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

Preview Lab → · Contrast checker → · Palette generator →

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