#E5D786#E5D786

#E5D786 is a very light, moderate yellow. Relative luminance 0.670; OKLCH L 87.3% C 0.103 H 99.7°. Best body text is #000000 at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#E5D786
RGBrgb(229, 215, 134)
HSLhsl(51, 65%, 71%)
HSVhsv(51, 41%, 90%)
CMYKcmyk(0%, 6.1%, 41.5%, 10.2%)
CIE-LABlab(85.49, -6.38, 41.65)
CIE-LCHlch(85.49, 42.13, 98.71°)
OKLaboklab(87.28% -0.0173 0.1014)
OKLCHoklch(87.28% 0.103 99.7)
XYZxyz(60.9179, 66.9820, 32.2695)
Luminance0.6698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D786 #8694E5
analogous
#E5A786 #E5D786 #C3E586
triadic
#E5D786 #86E5D7 #D786E5
tetradic
#E5D786 #86E5A7 #8694E5 #E586C3
square
#E5D786 #86E5A7 #8694E5 #E586C3
split-complementary
#E5D786 #86C3E5 #A786E5
monochromatic
#C6AF2B #DAC654 #E5D786 #F0E8B8 #FAF7E6

Accessibility & contrast

On white

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

On black

14.40
#E5D786 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D786
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D786#FFFFFF#000000##000000
##E5D7861.001.4614.4014.40
#FFFFFF1.461.0021.0021.00
#00000014.4021.001.001.00
##00000014.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D280
Deuteranopia (green-blind)
#E9D889
Tritanopia (blue-blind)
#F2CCC3
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e5d786;
/* rgb */ color: rgb(229, 215, 134);
/* oklch */ color: oklch(87.3% 0.103 99.7);
Tailwind
colors: {
  custom: {
    50: '#efe3aa',
    500: '#e5d786',
    950: '#000000',
  },
}
SCSS
$custom: #e5d786;
$custom-light: #efe3aa;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d786",
  "rgb": {
    "r": 229,
    "g": 215,
    "b": 134
  },
  "hsl": {
    "h": 51.158,
    "s": 64.626,
    "l": 71.176
  },
  "oklch": {
    "l": 0.87275,
    "c": 0.10282,
    "h": 99.7
  },
  "luminance": 0.6698
}

Semantic roles & 50–950 ramp

primary
#E5D786
secondary
#5262BE
accent
#33CC19
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #E5D786

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

Preview Lab → · Contrast checker → · Palette generator →

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