#E8D786#E8D786

#E8D786 is a very light, moderate yellow. Relative luminance 0.675; OKLCH L 87.5% C 0.103 H 97.8°. Best body text is #000000 at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#E8D786
RGBrgb(232, 215, 134)
HSLhsl(50, 68%, 72%)
HSVhsv(50, 42%, 91%)
CMYKcmyk(0%, 7.3%, 42.2%, 9%)
CIE-LABlab(85.75, -5.20, 42.02)
CIE-LCHlch(85.75, 42.34, 97.05°)
OKLaboklab(87.53% -0.014 0.1022)
OKLCHoklch(87.53% 0.103 97.8)
XYZxyz(61.8837, 67.4800, 32.3148)
Luminance0.6748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D786 #8697E8
analogous
#E8A686 #E8D786 #C8E886
triadic
#E8D786 #86E8D7 #D786E8
tetradic
#E8D786 #86E8A6 #8697E8 #E886C8
square
#E8D786 #86E8A6 #8697E8 #E886C8
split-complementary
#E8D786 #86C8E8 #A686E8
monochromatic
#CDB027 #DEC653 #E8D786 #F2E8B9 #FAF7E5

Accessibility & contrast

On white

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

On black

14.50
#E8D786 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D786
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D786#FFFFFF#000000##000000
##E8D7861.001.4514.5014.50
#FFFFFF1.451.0021.0021.00
#00000014.5021.001.001.00
##00000014.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e8d786;
/* rgb */ color: rgb(232, 215, 134);
/* oklch */ color: oklch(87.5% 0.103 97.8);
Tailwind
colors: {
  custom: {
    50: '#f1e3aa',
    500: '#e8d786',
    950: '#000000',
  },
}
SCSS
$custom: #e8d786;
$custom-light: #f1e3aa;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d786",
  "rgb": {
    "r": 232,
    "g": 215,
    "b": 134
  },
  "hsl": {
    "h": 49.592,
    "s": 68.056,
    "l": 71.765
  },
  "oklch": {
    "l": 0.87534,
    "c": 0.10313,
    "h": 97.8
  },
  "luminance": 0.67478
}

Semantic roles & 50–950 ramp

primary
#E8D786
secondary
#5164C1
accent
#36D016
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #E8D786

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

Preview Lab → · Contrast checker → · Palette generator →

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