#D8D985#D8D985

#D8D985 is a very light, moderate yellow. Relative luminance 0.659; OKLCH L 86.6% C 0.106 H 109.0°. Best body text is #000000 at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#D8D985
RGBrgb(216, 217, 133)
HSLhsl(61, 53%, 69%)
HSVhsv(61, 39%, 85%)
CMYKcmyk(0.5%, 0%, 38.7%, 14.9%)
CIE-LABlab(84.96, -12.60, 41.24)
CIE-LCHlch(84.96, 43.13, 106.99°)
OKLaboklab(86.59% -0.0346 0.1005)
OKLCHoklch(86.59% 0.106 109)
XYZxyz(57.3661, 65.9192, 31.8875)
Luminance0.6592 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D985 #8685D9
analogous
#D9B085 #D8D985 #AED985
triadic
#D8D985 #85D8D9 #D985D8
tetradic
#D8D985 #85D9B0 #8685D9 #D985AE
square
#D8D985 #85D9B0 #8685D9 #D985AE
split-complementary
#D8D985 #85AED9 #B085D9
monochromatic
#ACAE36 #C9CA56 #D8D985 #E7E8B4 #F6F6E2

Accessibility & contrast

On white

1.48
#D8D985 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.18
#D8D985 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D985
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D985#FFFFFF#000000##000000
##D8D9851.001.4814.1814.18
#FFFFFF1.481.0021.0021.00
#00000014.1821.001.001.00
##00000014.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D27F
Deuteranopia (green-blind)
#E7D689
Tritanopia (blue-blind)
#E3CFC4
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d8d985;
/* rgb */ color: rgb(216, 217, 133);
/* oklch */ color: oklch(86.6% 0.106 109.0);
Tailwind
colors: {
  custom: {
    50: '#e5e4a9',
    500: '#d8d985',
    950: '#000000',
  },
}
SCSS
$custom: #d8d985;
$custom-light: #e5e4a9;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d985",
  "rgb": {
    "r": 216,
    "g": 217,
    "b": 133
  },
  "hsl": {
    "h": 60.714,
    "s": 52.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.86589,
    "c": 0.10631,
    "h": 109
  },
  "luminance": 0.65918
}

Semantic roles & 50–950 ramp

primary
#D8D985
secondary
#5453AF
accent
#26C027
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #D8D985

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

Preview Lab → · Contrast checker → · Palette generator →

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