#D8D786#D8D786

#D8D786 is a very light, moderate yellow. Relative luminance 0.649; OKLCH L 86.2% C 0.103 H 107.8°. Best body text is #000000 at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#D8D786
RGBrgb(216, 215, 134)
HSLhsl(59, 51%, 69%)
HSVhsv(59, 38%, 85%)
CMYKcmyk(0%, 0.5%, 38%, 15.3%)
CIE-LABlab(84.44, -11.49, 40.09)
CIE-LCHlch(84.44, 41.71, 105.99°)
OKLaboklab(86.19% -0.0314 0.0979)
OKLCHoklch(86.19% 0.103 107.8)
XYZxyz(56.9232, 64.9222, 32.0823)
Luminance0.6492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D786 #8687D8
analogous
#D8AE86 #D8D786 #B0D886
triadic
#D8D786 #86D8D7 #D786D8
tetradic
#D8D786 #86D8AE #8687D8 #D886B0
square
#D8D786 #86D8AE #8687D8 #D886B0
split-complementary
#D8D786 #86B0D8 #AE86D8
monochromatic
#ACAB37 #C9C858 #D8D786 #E7E6B4 #F6F6E3

Accessibility & contrast

On white

1.50
#D8D786 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.98
#D8D786 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D786
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D786#FFFFFF#000000##000000
##D8D7861.001.5013.9813.98
#FFFFFF1.501.0021.0021.00
#00000013.9821.001.001.00
##00000013.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D180
Deuteranopia (green-blind)
#E5D489
Tritanopia (blue-blind)
#E3CEC3
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d8d786;
/* rgb */ color: rgb(216, 215, 134);
/* oklch */ color: oklch(86.2% 0.103 107.8);
Tailwind
colors: {
  custom: {
    50: '#e5e3aa',
    500: '#d8d786',
    950: '#000000',
  },
}
SCSS
$custom: #d8d786;
$custom-light: #e5e3aa;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d786",
  "rgb": {
    "r": 216,
    "g": 215,
    "b": 134
  },
  "hsl": {
    "h": 59.268,
    "s": 51.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.86187,
    "c": 0.10284,
    "h": 107.8
  },
  "luminance": 0.64921
}

Semantic roles & 50–950 ramp

primary
#D8D786
secondary
#5455AE
accent
#29BF27
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #D8D786

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

Preview Lab → · Contrast checker → · Palette generator →

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