#E4D87F#E4D87F

#E4D87F is a very light, moderate yellow. Relative luminance 0.671; OKLCH L 87.3% C 0.111 H 101.6°. Best body text is #000000 at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#E4D87F
RGBrgb(228, 216, 127)
HSLhsl(53, 65%, 70%)
HSVhsv(53, 44%, 89%)
CMYKcmyk(0%, 5.3%, 44.3%, 10.6%)
CIE-LABlab(85.57, -7.99, 45.20)
CIE-LCHlch(85.57, 45.90, 100.03°)
OKLaboklab(87.29% -0.0225 0.109)
OKLCHoklch(87.29% 0.111 101.6)
XYZxyz(60.3829, 67.1399, 29.8531)
Luminance0.6714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D87F #7F8BE4
analogous
#E4A67F #E4D87F #BEE47F
triadic
#E4D87F #7FE4D8 #D87FE4
tetradic
#E4D87F #7FE4A6 #7F8BE4 #E47FBE
square
#E4D87F #7FE4A6 #7F8BE4 #E47FBE
split-complementary
#E4D87F #7FBEE4 #A67FE4
monochromatic
#C0AE29 #D9C94C #E4D87F #EFE7B2 #F9F7E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E4D87F#FFFFFF#000000##000000
##E4D87F1.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)
#E7D378
Deuteranopia (green-blind)
#EBD883
Tritanopia (blue-blind)
#F1CDC3
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e4d87f;
/* rgb */ color: rgb(228, 216, 127);
/* oklch */ color: oklch(87.3% 0.111 101.6);
Tailwind
colors: {
  custom: {
    50: '#eee3a5',
    500: '#e4d87f',
    950: '#000000',
  },
}
SCSS
$custom: #e4d87f;
$custom-light: #eee3a5;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d87f",
  "rgb": {
    "r": 228,
    "g": 216,
    "b": 127
  },
  "hsl": {
    "h": 52.871,
    "s": 65.161,
    "l": 69.608
  },
  "oklch": {
    "l": 0.87287,
    "c": 0.11127,
    "h": 101.6
  },
  "luminance": 0.67138
}

Semantic roles & 50–950 ramp

primary
#E4D87F
secondary
#4B59BC
accent
#2ECD19
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #E4D87F

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

Preview Lab → · Contrast checker → · Palette generator →

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