#E8D77B#E8D77B

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

Color values

HEX#E8D77B
RGBrgb(232, 215, 123)
HSLhsl(51, 70%, 70%)
HSVhsv(51, 47%, 91%)
CMYKcmyk(0%, 7.3%, 47%, 9%)
CIE-LABlab(85.60, -6.27, 47.26)
CIE-LCHlch(85.60, 47.68, 97.56°)
OKLaboklab(87.37% -0.0181 0.1133)
OKLCHoklch(87.37% 0.115 99.1)
XYZxyz(61.1560, 67.1889, 28.4824)
Luminance0.6719 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D77B #7B8CE8
analogous
#E8A17B #E8D77B #C3E87B
triadic
#E8D77B #7BE8D7 #D77BE8
tetradic
#E8D77B #7BE8A1 #7B8CE8 #E87BC3
square
#E8D77B #7BE8A1 #7B8CE8 #E87BC3
split-complementary
#E8D77B #7BC3E8 #A17BE8
monochromatic
#C6AD23 #DFC747 #E8D77B #F1E7AF #FAF7E3

Accessibility & contrast

On white

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

On black

14.44
#E8D77B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D77B
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D77B#FFFFFF#000000##000000
##E8D77B1.001.4514.4414.44
#FFFFFF1.451.0021.0021.00
#00000014.4421.001.001.00
##00000014.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D273
Deuteranopia (green-blind)
#ECD97F
Tritanopia (blue-blind)
#F6CBC1
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e8d77b;
/* rgb */ color: rgb(232, 215, 123);
/* oklch */ color: oklch(87.4% 0.115 99.1);
Tailwind
colors: {
  custom: {
    50: '#f1e3a3',
    500: '#e8d77b',
    950: '#000000',
  },
}
SCSS
$custom: #e8d77b;
$custom-light: #f1e3a3;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d77b",
  "rgb": {
    "r": 232,
    "g": 215,
    "b": 123
  },
  "hsl": {
    "h": 50.642,
    "s": 70.323,
    "l": 69.608
  },
  "oklch": {
    "l": 0.8737,
    "c": 0.11471,
    "h": 99.1
  },
  "luminance": 0.67187
}

Semantic roles & 50–950 ramp

primary
#E8D77B
secondary
#475AC0
accent
#31D213
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #E8D77B

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

Preview Lab → · Contrast checker → · Palette generator →

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