#D9DB8A#D9DB8A

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

Color values

HEX#D9DB8A
RGBrgb(217, 219, 138)
HSLhsl(61, 53%, 70%)
HSVhsv(61, 37%, 86%)
CMYKcmyk(0.9%, 0%, 37%, 14.1%)
CIE-LABlab(85.63, -12.66, 39.62)
CIE-LCHlch(85.63, 41.60, 107.72°)
OKLaboklab(87.17% -0.0345 0.097)
OKLCHoklch(87.17% 0.103 109.6)
XYZxyz(58.5349, 67.2508, 33.9370)
Luminance0.6725 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9DB8A #8C8ADB
analogous
#DBB48A #D9DB8A #B1DB8A
triadic
#D9DB8A #8AD9DB #DB8AD9
tetradic
#D9DB8A #8ADBB4 #8C8ADB #DB8AB1
square
#D9DB8A #8ADBB4 #8C8ADB #DB8AB1
split-complementary
#D9DB8A #8AB1DB #B48ADB
monochromatic
#B0B337 #CACD5B #D9DB8A #E8E9B9 #F7F8E8

Accessibility & contrast

On white

1.45
#D9DB8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.45
#D9DB8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9DB8A
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9DB8A#FFFFFF#000000##000000
##D9DB8A1.001.4514.4514.45
#FFFFFF1.451.0021.0021.00
#00000014.4521.001.001.00
##00000014.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D484
Deuteranopia (green-blind)
#E8D78E
Tritanopia (blue-blind)
#E3D2C7
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #d9db8a;
/* rgb */ color: rgb(217, 219, 138);
/* oklch */ color: oklch(87.2% 0.103 109.6);
Tailwind
colors: {
  custom: {
    50: '#e6e6ad',
    500: '#d9db8a',
    950: '#000000',
  },
}
SCSS
$custom: #d9db8a;
$custom-light: #e6e6ad;
$custom-dark: #000000;
JSON
{
  "hex": "#d9db8a",
  "rgb": {
    "r": 217,
    "g": 219,
    "b": 138
  },
  "hsl": {
    "h": 61.481,
    "s": 52.941,
    "l": 70
  },
  "oklch": {
    "l": 0.87168,
    "c": 0.10299,
    "h": 109.6
  },
  "luminance": 0.6725
}

Semantic roles & 50–950 ramp

primary
#D9DB8A
secondary
#5957B2
accent
#25C029
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #D9DB8A

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

Preview Lab → · Contrast checker → · Palette generator →

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