#E7D786#E7D786

#E7D786 is a very light, moderate yellow. Relative luminance 0.673; OKLCH L 87.4% C 0.103 H 98.4°. Best body text is #000000 at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#E7D786
RGBrgb(231, 215, 134)
HSLhsl(50, 67%, 72%)
HSVhsv(50, 42%, 91%)
CMYKcmyk(0%, 6.9%, 42%, 9.4%)
CIE-LABlab(85.66, -5.59, 41.89)
CIE-LCHlch(85.66, 42.27, 97.61°)
OKLaboklab(87.45% -0.0151 0.1019)
OKLCHoklch(87.45% 0.103 98.4)
XYZxyz(61.5599, 67.3130, 32.2996)
Luminance0.6731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D786 #8696E7
analogous
#E7A786 #E7D786 #C7E786
triadic
#E7D786 #86E7D7 #D786E7
tetradic
#E7D786 #86E7A7 #8696E7 #E786C7
square
#E7D786 #86E7A7 #8696E7 #E786C7
split-complementary
#E7D786 #86C7E7 #A786E7
monochromatic
#CAB028 #DDC653 #E7D786 #F1E8B9 #FAF7E5

Accessibility & contrast

On white

1.45
#E7D786 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.46
#E7D786 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D786
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D786#FFFFFF#000000##000000
##E7D7861.001.4514.4614.46
#FFFFFF1.451.0021.0021.00
#00000014.4621.001.001.00
##00000014.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D380
Deuteranopia (green-blind)
#EAD989
Tritanopia (blue-blind)
#F4CCC3
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e7d786;
/* rgb */ color: rgb(231, 215, 134);
/* oklch */ color: oklch(87.4% 0.103 98.4);
Tailwind
colors: {
  custom: {
    50: '#f0e3aa',
    500: '#e7d786',
    950: '#000000',
  },
}
SCSS
$custom: #e7d786;
$custom-light: #f0e3aa;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d786",
  "rgb": {
    "r": 231,
    "g": 215,
    "b": 134
  },
  "hsl": {
    "h": 50.103,
    "s": 66.897,
    "l": 71.569
  },
  "oklch": {
    "l": 0.87447,
    "c": 0.10301,
    "h": 98.4
  },
  "luminance": 0.67311
}

Semantic roles & 50–950 ramp

primary
#E7D786
secondary
#5163C0
accent
#35CF17
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #E7D786

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

Preview Lab → · Contrast checker → · Palette generator →

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