#D8D688#D8D688

#D8D688 is a very light, moderate yellow. Relative luminance 0.645; OKLCH L 86.0% C 0.099 H 107.1°. Best body text is #000000 at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#D8D688
RGBrgb(216, 214, 136)
HSLhsl(59, 51%, 69%)
HSVhsv(59, 37%, 85%)
CMYKcmyk(0%, 0.9%, 37%, 15.3%)
CIE-LABlab(84.21, -10.76, 38.79)
CIE-LCHlch(84.21, 40.25, 105.51°)
OKLaboklab(86.01% -0.0291 0.095)
OKLCHoklch(86.01% 0.099 107.1)
XYZxyz(56.8101, 64.4708, 32.7392)
Luminance0.6447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D688 #888AD8
analogous
#D8AE88 #D8D688 #B2D888
triadic
#D8D688 #88D8D6 #D688D8
tetradic
#D8D688 #88D8AE #888AD8 #D888B2
square
#D8D688 #88D8AE #888AD8 #D888B2
split-complementary
#D8D688 #88B2D8 #AE88D8
monochromatic
#ADAA39 #C9C65A #D8D688 #E7E6B6 #F6F6E4

Accessibility & contrast

On white

1.51
#D8D688 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.89
#D8D688 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D688
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D688#FFFFFF#000000##000000
##D8D6881.001.5113.8913.89
#FFFFFF1.511.0021.0021.00
#00000013.8921.001.001.00
##00000013.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2D082
Deuteranopia (green-blind)
#E4D48B
Tritanopia (blue-blind)
#E3CDC3
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d8d688;
/* rgb */ color: rgb(216, 214, 136);
/* oklch */ color: oklch(86.0% 0.099 107.1);
Tailwind
colors: {
  custom: {
    50: '#e5e2ab',
    500: '#d8d688',
    950: '#000000',
  },
}
SCSS
$custom: #d8d688;
$custom-light: #e5e2ab;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d688",
  "rgb": {
    "r": 216,
    "g": 214,
    "b": 136
  },
  "hsl": {
    "h": 58.5,
    "s": 50.633,
    "l": 69.02
  },
  "oklch": {
    "l": 0.86011,
    "c": 0.09941,
    "h": 107.1
  },
  "luminance": 0.6447
}

Semantic roles & 50–950 ramp

primary
#D8D688
secondary
#5658AE
accent
#2BBE28
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #D8D688

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

Preview Lab → · Contrast checker → · Palette generator →

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