#D9DB87#D9DB87

#D9DB87 is a very light, moderate yellow. Relative luminance 0.672; OKLCH L 87.1% C 0.106 H 109.6°. Best body text is #000000 at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#D9DB87
RGBrgb(217, 219, 135)
HSLhsl(61, 54%, 69%)
HSVhsv(61, 38%, 86%)
CMYKcmyk(0.9%, 0%, 38.4%, 14.1%)
CIE-LABlab(85.59, -13.00, 41.07)
CIE-LCHlch(85.59, 43.08, 107.56°)
OKLaboklab(87.12% -0.0357 0.1002)
OKLCHoklch(87.12% 0.106 109.6)
XYZxyz(58.3207, 67.1651, 32.8089)
Luminance0.6716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9DB87 #8987DB
analogous
#DBB387 #D9DB87 #AFDB87
triadic
#D9DB87 #87D9DB #DB87D9
tetradic
#D9DB87 #87DBB3 #8987DB #DB87AF
square
#D9DB87 #87DBB3 #8987DB #DB87AF
split-complementary
#D9DB87 #87AFDB #B387DB
monochromatic
#AFB235 #CACD58 #D9DB87 #E8E9B6 #F7F7E5

Accessibility & contrast

On white

1.46
#D9DB87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.43
#D9DB87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9DB87
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9DB87#FFFFFF#000000##000000
##D9DB871.001.4614.4314.43
#FFFFFF1.461.0021.0021.00
#00000014.4321.001.001.00
##00000014.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D481
Deuteranopia (green-blind)
#E8D78B
Tritanopia (blue-blind)
#E4D1C6
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #d9db87;
/* rgb */ color: rgb(217, 219, 135);
/* oklch */ color: oklch(87.1% 0.106 109.6);
Tailwind
colors: {
  custom: {
    50: '#e6e6ab',
    500: '#d9db87',
    950: '#000000',
  },
}
SCSS
$custom: #d9db87;
$custom-light: #e6e6ab;
$custom-dark: #000000;
JSON
{
  "hex": "#d9db87",
  "rgb": {
    "r": 217,
    "g": 219,
    "b": 135
  },
  "hsl": {
    "h": 61.429,
    "s": 53.846,
    "l": 69.412
  },
  "oklch": {
    "l": 0.8712,
    "c": 0.10636,
    "h": 109.6
  },
  "luminance": 0.67164
}

Semantic roles & 50–950 ramp

primary
#D9DB87
secondary
#5754B2
accent
#24C128
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #D9DB87

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

Preview Lab → · Contrast checker → · Palette generator →

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