#E8D477#E8D477

#E8D477 is a very light, moderate yellow. Relative luminance 0.656; OKLCH L 86.7% C 0.116 H 97.5°. Best body text is #000000 at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#E8D477
RGBrgb(232, 212, 119)
HSLhsl(49, 71%, 69%)
HSVhsv(49, 49%, 91%)
CMYKcmyk(0%, 8.6%, 48.7%, 9%)
CIE-LABlab(84.78, -5.11, 48.20)
CIE-LCHlch(84.78, 48.47, 96.05°)
OKLaboklab(86.71% -0.0151 0.1151)
OKLCHoklch(86.71% 0.116 97.5)
XYZxyz(60.1538, 65.5770, 26.9382)
Luminance0.6558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D477 #778BE8
analogous
#E89C77 #E8D477 #C3E877
triadic
#E8D477 #77E8D4 #D477E8
tetradic
#E8D477 #77E89C #778BE8 #E877C3
square
#E8D477 #77E89C #778BE8 #E877C3
split-complementary
#E8D477 #77C3E8 #9C77E8
monochromatic
#C4A721 #DFC343 #E8D477 #F1E5AB #FAF5E0

Accessibility & contrast

On white

1.49
#E8D477 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.12
#E8D477 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D477
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D477#FFFFFF#000000##000000
##E8D4771.001.4914.1214.12
#FFFFFF1.491.0021.0021.00
#00000014.1221.001.001.00
##00000014.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D06F
Deuteranopia (green-blind)
#EAD77B
Tritanopia (blue-blind)
#F7C8BE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e8d477;
/* rgb */ color: rgb(232, 212, 119);
/* oklch */ color: oklch(86.7% 0.116 97.5);
Tailwind
colors: {
  custom: {
    50: '#f1e1a0',
    500: '#e8d477',
    950: '#000000',
  },
}
SCSS
$custom: #e8d477;
$custom-light: #f1e1a0;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d477",
  "rgb": {
    "r": 232,
    "g": 212,
    "b": 119
  },
  "hsl": {
    "h": 49.381,
    "s": 71.069,
    "l": 68.824
  },
  "oklch": {
    "l": 0.86706,
    "c": 0.11606,
    "h": 97.5
  },
  "luminance": 0.65575
}

Semantic roles & 50–950 ramp

primary
#E8D477
secondary
#4359C0
accent
#35D312
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #E8D477

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

Preview Lab → · Contrast checker → · Palette generator →

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