#E7D686#E7D686

#E7D686 is a very light, moderate yellow. Relative luminance 0.668; OKLCH L 87.2% C 0.102 H 97.7°. Best body text is #000000 at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#E7D686
RGBrgb(231, 214, 134)
HSLhsl(49, 67%, 72%)
HSVhsv(49, 42%, 91%)
CMYKcmyk(0%, 7.4%, 42%, 9.4%)
CIE-LABlab(85.41, -5.08, 41.57)
CIE-LCHlch(85.41, 41.88, 96.97°)
OKLaboklab(87.24% -0.0136 0.1012)
OKLCHoklch(87.24% 0.102 97.7)
XYZxyz(61.3061, 66.8053, 32.2150)
Luminance0.6680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D686 #8697E7
analogous
#E7A686 #E7D686 #C8E786
triadic
#E7D686 #86E7D6 #D686E7
tetradic
#E7D686 #86E7A6 #8697E7 #E786C8
square
#E7D686 #86E7A6 #8697E7 #E786C8
split-complementary
#E7D686 #86C8E7 #A686E7
monochromatic
#CAAE28 #DDC553 #E7D686 #F1E7B9 #FAF6E5

Accessibility & contrast

On white

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

On black

14.36
#E7D686 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D686
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D686#FFFFFF#000000##000000
##E7D6861.001.4614.3614.36
#FFFFFF1.461.0021.0021.00
#00000014.3621.001.001.00
##00000014.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7d686;
/* rgb */ color: rgb(231, 214, 134);
/* oklch */ color: oklch(87.2% 0.102 97.7);
Tailwind
colors: {
  custom: {
    50: '#f0e2aa',
    500: '#e7d686',
    950: '#000000',
  },
}
SCSS
$custom: #e7d686;
$custom-light: #f0e2aa;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d686",
  "rgb": {
    "r": 231,
    "g": 214,
    "b": 134
  },
  "hsl": {
    "h": 49.485,
    "s": 66.897,
    "l": 71.569
  },
  "oklch": {
    "l": 0.87245,
    "c": 0.10208,
    "h": 97.7
  },
  "luminance": 0.66803
}

Semantic roles & 50–950 ramp

primary
#E7D686
secondary
#5165C0
accent
#37CF17
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #E7D686

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

Preview Lab → · Contrast checker → · Palette generator →

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