#D9DC8A#D9DC8A

#D9DC8A is a very light, moderate yellow. Relative luminance 0.678; OKLCH L 87.4% C 0.104 H 110.2°. Best body text is #000000 at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#D9DC8A
RGBrgb(217, 220, 138)
HSLhsl(62, 54%, 70%)
HSVhsv(62, 37%, 86%)
CMYKcmyk(1.4%, 0%, 37.3%, 13.7%)
CIE-LABlab(85.89, -13.16, 39.96)
CIE-LCHlch(85.89, 42.07, 108.23°)
OKLaboklab(87.38% -0.0359 0.0978)
OKLCHoklch(87.38% 0.104 110.2)
XYZxyz(58.7965, 67.7741, 34.0242)
Luminance0.6777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9DC8A #8D8ADC
analogous
#DCB68A #D9DC8A #B0DC8A
triadic
#D9DC8A #8AD9DC #DC8AD9
tetradic
#D9DC8A #8ADCB6 #8D8ADC #DC8AB0
square
#D9DC8A #8ADCB6 #8D8ADC #DC8AB0
split-complementary
#D9DC8A #8AB0DC #B68ADC
monochromatic
#B1B536 #CACE5B #D9DC8A #E8EAB9 #F7F8E7

Accessibility & contrast

On white

1.44
#D9DC8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.55
#D9DC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9DC8A
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9DC8A#FFFFFF#000000##000000
##D9DC8A1.001.4414.5514.55
#FFFFFF1.441.0021.0021.00
#00000014.5521.001.001.00
##00000014.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D584
Deuteranopia (green-blind)
#E9D88E
Tritanopia (blue-blind)
#E3D3C8
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #d9dc8a;
/* rgb */ color: rgb(217, 220, 138);
/* oklch */ color: oklch(87.4% 0.104 110.2);
Tailwind
colors: {
  custom: {
    50: '#e6e6ad',
    500: '#d9dc8a',
    950: '#000000',
  },
}
SCSS
$custom: #d9dc8a;
$custom-light: #e6e6ad;
$custom-dark: #000000;
JSON
{
  "hex": "#d9dc8a",
  "rgb": {
    "r": 217,
    "g": 220,
    "b": 138
  },
  "hsl": {
    "h": 62.195,
    "s": 53.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.87377,
    "c": 0.1042,
    "h": 110.2
  },
  "luminance": 0.67773
}

Semantic roles & 50–950 ramp

primary
#D9DC8A
secondary
#5A57B3
accent
#24C12A
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#161610
muted
#848481

Preview Lab

Preview with #D9DC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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