#D9DC7D#D9DC7D

#D9DC7D is a very light, moderate yellow. Relative luminance 0.674; OKLCH L 87.2% C 0.118 H 110.2°. Best body text is #000000 at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#D9DC7D
RGBrgb(217, 220, 125)
HSLhsl(62, 58%, 68%)
HSVhsv(62, 43%, 86%)
CMYKcmyk(1.4%, 0%, 43.2%, 13.7%)
CIE-LABlab(85.72, -14.55, 46.16)
CIE-LCHlch(85.72, 48.40, 107.49°)
OKLaboklab(87.18% -0.0409 0.1111)
OKLCHoklch(87.18% 0.118 110.2)
XYZxyz(57.9111, 67.4199, 29.3607)
Luminance0.6742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9DC7D #807DDC
analogous
#DCB07D #D9DC7D #A9DC7D
triadic
#D9DC7D #7DD9DC #DC7DD9
tetradic
#D9DC7D #7DDCB0 #807DDC #DC7DA9
square
#D9DC7D #7DDCB0 #807DDC #DC7DA9
split-complementary
#D9DC7D #7DA9DC #B07DDC
monochromatic
#ABAF2F #CBCF4D #D9DC7D #E7E9AD #F5F6DD

Accessibility & contrast

On white

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

On black

14.48
#D9DC7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9DC7D
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9DC7D#FFFFFF#000000##000000
##D9DC7D1.001.4514.4814.48
#FFFFFF1.451.0021.0021.00
#00000014.4821.001.001.00
##00000014.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D575
Deuteranopia (green-blind)
#EAD881
Tritanopia (blue-blind)
#E4D2C5
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #d9dc7d;
/* rgb */ color: rgb(217, 220, 125);
/* oklch */ color: oklch(87.2% 0.118 110.2);
Tailwind
colors: {
  custom: {
    50: '#e6e6a4',
    500: '#d9dc7d',
    950: '#000000',
  },
}
SCSS
$custom: #d9dc7d;
$custom-light: #e6e6a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d9dc7d",
  "rgb": {
    "r": 217,
    "g": 220,
    "b": 125
  },
  "hsl": {
    "h": 61.895,
    "s": 57.576,
    "l": 67.647
  },
  "oklch": {
    "l": 0.87178,
    "c": 0.11841,
    "h": 110.2
  },
  "luminance": 0.67419
}

Semantic roles & 50–950 ramp

primary
#D9DC7D
secondary
#4F4CB2
accent
#20C526
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16160F
muted
#848480

Preview Lab

Preview with #D9DC7D

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

Preview Lab → · Contrast checker → · Palette generator →

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