#D8D689#D8D689

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

Color values

HEX#D8D689
RGBrgb(216, 214, 137)
HSLhsl(58, 50%, 69%)
HSVhsv(58, 37%, 85%)
CMYKcmyk(0%, 0.9%, 36.6%, 15.3%)
CIE-LABlab(84.23, -10.65, 38.30)
CIE-LCHlch(84.23, 39.76, 105.54°)
OKLaboklab(86.03% -0.0288 0.094)
OKLCHoklch(86.03% 0.098 107)
XYZxyz(56.8815, 64.4994, 33.1153)
Luminance0.6450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D689 #898BD8
analogous
#D8AF89 #D8D689 #B3D889
triadic
#D8D689 #89D8D6 #D689D8
tetradic
#D8D689 #89D8AF #898BD8 #D889B3
square
#D8D689 #89D8AF #898BD8 #D889B3
split-complementary
#D8D689 #89B3D8 #AF89D8
monochromatic
#ADAA39 #C9C65B #D8D689 #E7E6B7 #F6F6E5

Accessibility & contrast

On white

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

On black

13.90
#D8D689 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D689
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D689#FFFFFF#000000##000000
##D8D6891.001.5113.9013.90
#FFFFFF1.511.0021.0021.00
#00000013.9021.001.001.00
##00000013.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8d689;
/* rgb */ color: rgb(216, 214, 137);
/* oklch */ color: oklch(86.0% 0.098 107.0);
Tailwind
colors: {
  custom: {
    50: '#e5e2ac',
    500: '#d8d689',
    950: '#000000',
  },
}
SCSS
$custom: #d8d689;
$custom-light: #e5e2ac;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d689",
  "rgb": {
    "r": 216,
    "g": 214,
    "b": 137
  },
  "hsl": {
    "h": 58.481,
    "s": 50.318,
    "l": 69.216
  },
  "oklch": {
    "l": 0.86028,
    "c": 0.09827,
    "h": 107
  },
  "luminance": 0.64498
}

Semantic roles & 50–950 ramp

primary
#D8D689
secondary
#5759AE
accent
#2CBE28
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #D8D689

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

Preview Lab → · Contrast checker → · Palette generator →

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