#E4D985#E4D985

#E4D985 is a very light, moderate yellow. Relative luminance 0.678; OKLCH L 87.6% C 0.106 H 101.8°. Best body text is #000000 at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#E4D985
RGBrgb(228, 217, 133)
HSLhsl(53, 64%, 71%)
HSVhsv(53, 42%, 89%)
CMYKcmyk(0%, 4.8%, 41.7%, 10.6%)
CIE-LABlab(85.91, -7.90, 42.66)
CIE-LCHlch(85.91, 43.38, 100.49°)
OKLaboklab(87.58% -0.0217 0.1036)
OKLCHoklch(87.58% 0.106 101.8)
XYZxyz(61.0427, 67.8149, 32.0598)
Luminance0.6781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D985 #8590E4
analogous
#E4A985 #E4D985 #BFE485
triadic
#E4D985 #85E4D9 #D985E4
tetradic
#E4D985 #85E4A9 #8590E4 #E485BF
square
#E4D985 #85E4A9 #8590E4 #E485BF
split-complementary
#E4D985 #85BFE4 #A985E4
monochromatic
#C3B22B #D9C953 #E4D985 #EFE9B7 #F9F7E6

Accessibility & contrast

On white

1.44
#E4D985 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.56
#E4D985 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D985
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D985#FFFFFF#000000##000000
##E4D9851.001.4414.5614.56
#FFFFFF1.441.0021.0021.00
#00000014.5621.001.001.00
##00000014.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D47E
Deuteranopia (green-blind)
#EBD988
Tritanopia (blue-blind)
#F1CEC4
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e4d985;
/* rgb */ color: rgb(228, 217, 133);
/* oklch */ color: oklch(87.6% 0.106 101.8);
Tailwind
colors: {
  custom: {
    50: '#eee4aa',
    500: '#e4d985',
    950: '#000000',
  },
}
SCSS
$custom: #e4d985;
$custom-light: #eee4aa;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d985",
  "rgb": {
    "r": 228,
    "g": 217,
    "b": 133
  },
  "hsl": {
    "h": 53.053,
    "s": 63.758,
    "l": 70.784
  },
  "oklch": {
    "l": 0.87583,
    "c": 0.10585,
    "h": 101.8
  },
  "luminance": 0.67813
}

Semantic roles & 50–950 ramp

primary
#E4D985
secondary
#515DBC
accent
#2FCC1A
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #E4D985

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

Preview Lab → · Contrast checker → · Palette generator →

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