#E4D877#E4D877

#E4D877 is a very light, moderate yellow. Relative luminance 0.669; OKLCH L 87.2% C 0.120 H 102.3°. Best body text is #000000 at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#E4D877
RGBrgb(228, 216, 119)
HSLhsl(53, 67%, 68%)
HSVhsv(53, 48%, 89%)
CMYKcmyk(0%, 5.3%, 47.8%, 10.6%)
CIE-LABlab(85.47, -8.75, 48.97)
CIE-LCHlch(85.47, 49.75, 100.13°)
OKLaboklab(87.17% -0.0254 0.1168)
OKLCHoklch(87.17% 0.12 102.3)
XYZxyz(59.8821, 66.9395, 27.2154)
Luminance0.6694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D877 #7783E4
analogous
#E4A177 #E4D877 #BAE477
triadic
#E4D877 #77E4D8 #D877E4
tetradic
#E4D877 #77E4A1 #7783E4 #E477BA
square
#E4D877 #77E4A1 #7783E4 #E477BA
split-complementary
#E4D877 #77BAE4 #A177E4
monochromatic
#BBAB25 #DAC944 #E4D877 #EEE7AA #F8F5DD

Accessibility & contrast

On white

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

On black

14.39
#E4D877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D877
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D877#FFFFFF#000000##000000
##E4D8771.001.4614.3914.39
#FFFFFF1.461.0021.0021.00
#00000014.3921.001.001.00
##00000014.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D26F
Deuteranopia (green-blind)
#EBD87B
Tritanopia (blue-blind)
#F2CCC1
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e4d877;
/* rgb */ color: rgb(228, 216, 119);
/* oklch */ color: oklch(87.2% 0.120 102.3);
Tailwind
colors: {
  custom: {
    50: '#eee3a0',
    500: '#e4d877',
    950: '#000000',
  },
}
SCSS
$custom: #e4d877;
$custom-light: #eee3a0;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d877",
  "rgb": {
    "r": 228,
    "g": 216,
    "b": 119
  },
  "hsl": {
    "h": 53.394,
    "s": 66.871,
    "l": 68.039
  },
  "oklch": {
    "l": 0.87174,
    "c": 0.11954,
    "h": 102.3
  },
  "luminance": 0.66938
}

Semantic roles & 50–950 ramp

primary
#E4D877
secondary
#4451BB
accent
#2BCF17
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #E4D877

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

Preview Lab → · Contrast checker → · Palette generator →

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