#D9DF8A#D9DF8A

#D9DF8A is a very light, moderate yellow. Relative luminance 0.694; OKLCH L 88.0% C 0.108 H 111.9°. Best body text is #000000 at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#D9DF8A
RGBrgb(217, 223, 138)
HSLhsl(64, 57%, 71%)
HSVhsv(64, 38%, 87%)
CMYKcmyk(2.7%, 0%, 38.1%, 12.5%)
CIE-LABlab(86.68, -14.66, 40.97)
CIE-LCHlch(86.68, 43.51, 109.69°)
OKLaboklab(88.01% -0.0402 0.1001)
OKLCHoklch(88.01% 0.108 111.9)
XYZxyz(59.5910, 69.3629, 34.2890)
Luminance0.6936 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9DF8A #908ADF
analogous
#DFBA8A #D9DF8A #AEDF8A
triadic
#D9DF8A #8AD9DF #DF8AD9
tetradic
#D9DF8A #8ADFBA #908ADF #DF8AAE
square
#D9DF8A #8ADFBA #908ADF #DF8AAE
split-complementary
#D9DF8A #8AAEDF #BA8ADF
monochromatic
#B2BB33 #C9D25A #D9DF8A #E9ECBA #F7F8E7

Accessibility & contrast

On white

1.41
#D9DF8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.87
#D9DF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9DF8A
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9DF8A#FFFFFF#000000##000000
##D9DF8A1.001.4114.8714.87
#FFFFFF1.411.0021.0021.00
#00000014.8721.001.001.00
##00000014.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD884
Deuteranopia (green-blind)
#EBDA8E
Tritanopia (blue-blind)
#E3D6CA
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #d9df8a;
/* rgb */ color: rgb(217, 223, 138);
/* oklch */ color: oklch(88.0% 0.108 111.9);
Tailwind
colors: {
  custom: {
    50: '#e6e8ad',
    500: '#d9df8a',
    950: '#000000',
  },
}
SCSS
$custom: #d9df8a;
$custom-light: #e6e8ad;
$custom-dark: #000000;
JSON
{
  "hex": "#d9df8a",
  "rgb": {
    "r": 217,
    "g": 223,
    "b": 138
  },
  "hsl": {
    "h": 64.235,
    "s": 57.047,
    "l": 70.784
  },
  "oklch": {
    "l": 0.88006,
    "c": 0.10789,
    "h": 111.9
  },
  "luminance": 0.69362
}

Semantic roles & 50–950 ramp

primary
#D9DF8A
secondary
#5D57B7
accent
#21C52C
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#161610
muted
#848481

Preview Lab

Preview with #D9DF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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