#E4D586#E4D586

#E4D586 is a very light, moderate yellow. Relative luminance 0.658; OKLCH L 86.8% C 0.101 H 98.8°. Best body text is #000000 at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#E4D586
RGBrgb(228, 213, 134)
HSLhsl(50, 64%, 71%)
HSVhsv(50, 41%, 89%)
CMYKcmyk(0%, 6.6%, 41.2%, 10.6%)
CIE-LABlab(84.90, -5.76, 40.87)
CIE-LCHlch(84.90, 41.27, 98.02°)
OKLaboklab(86.78% -0.0154 0.0996)
OKLCHoklch(86.78% 0.101 98.8)
XYZxyz(60.0935, 65.8056, 32.0859)
Luminance0.6580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D586 #8695E4
analogous
#E4A686 #E4D586 #C4E486
triadic
#E4D586 #86E4D5 #D586E4
tetradic
#E4D586 #86E4A6 #8695E4 #E486C4
square
#E4D586 #86E4A6 #8695E4 #E486C4
split-complementary
#E4D586 #86C4E4 #A686E4
monochromatic
#C4AC2C #D9C454 #E4D586 #EFE6B8 #F9F6E6

Accessibility & contrast

On white

1.48
#E4D586 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.16
#E4D586 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D586
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D586#FFFFFF#000000##000000
##E4D5861.001.4814.1614.16
#FFFFFF1.481.0021.0021.00
#00000014.1621.001.001.00
##00000014.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D180
Deuteranopia (green-blind)
#E8D789
Tritanopia (blue-blind)
#F1CAC1
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e4d586;
/* rgb */ color: rgb(228, 213, 134);
/* oklch */ color: oklch(86.8% 0.101 98.8);
Tailwind
colors: {
  custom: {
    50: '#eee1aa',
    500: '#e4d586',
    950: '#000000',
  },
}
SCSS
$custom: #e4d586;
$custom-light: #eee1aa;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d586",
  "rgb": {
    "r": 228,
    "g": 213,
    "b": 134
  },
  "hsl": {
    "h": 50.426,
    "s": 63.514,
    "l": 70.98
  },
  "oklch": {
    "l": 0.86782,
    "c": 0.1008,
    "h": 98.8
  },
  "luminance": 0.65804
}

Semantic roles & 50–950 ramp

primary
#E4D586
secondary
#5263BC
accent
#36CB1A
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #E4D586

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

Preview Lab → · Contrast checker → · Palette generator →

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