#D9DB7A#D9DB7A

#D9DB7A is a very light, vivid yellow. Relative luminance 0.668; OKLCH L 86.9% C 0.120 H 109.7°. Best body text is #000000 at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#D9DB7A
RGBrgb(217, 219, 122)
HSLhsl(61, 57%, 67%)
HSVhsv(61, 44%, 86%)
CMYKcmyk(0.9%, 0%, 44.3%, 14.1%)
CIE-LABlab(85.41, -14.35, 47.25)
CIE-LCHlch(85.41, 49.38, 106.89°)
OKLaboklab(86.93% -0.0406 0.1134)
OKLCHoklch(86.93% 0.12 109.7)
XYZxyz(57.4606, 66.8211, 28.2794)
Luminance0.6682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9DB7A #7C7ADB
analogous
#DBAD7A #D9DB7A #A9DB7A
triadic
#D9DB7A #7AD9DB #DB7AD9
tetradic
#D9DB7A #7ADBAD #7C7ADB #DB7AA9
square
#D9DB7A #7ADBAD #7C7ADB #DB7AA9
split-complementary
#D9DB7A #7AA9DB #AD7ADB
monochromatic
#A9AC2F #CBCE4A #D9DB7A #E7E8AA #F5F5DA

Accessibility & contrast

On white

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

On black

14.36
#D9DB7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9DB7A
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9DB7A#FFFFFF#000000##000000
##D9DB7A1.001.4614.3614.36
#FFFFFF1.461.0021.0021.00
#00000014.3621.001.001.00
##00000014.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D472
Deuteranopia (green-blind)
#EAD77F
Tritanopia (blue-blind)
#E5D0C4
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d9db7a;
/* rgb */ color: rgb(217, 219, 122);
/* oklch */ color: oklch(86.9% 0.120 109.7);
Tailwind
colors: {
  custom: {
    50: '#e6e6a2',
    500: '#d9db7a',
    950: '#000000',
  },
}
SCSS
$custom: #d9db7a;
$custom-light: #e6e6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#d9db7a",
  "rgb": {
    "r": 217,
    "g": 219,
    "b": 122
  },
  "hsl": {
    "h": 61.237,
    "s": 57.396,
    "l": 66.863
  },
  "oklch": {
    "l": 0.86925,
    "c": 0.1204,
    "h": 109.7
  },
  "luminance": 0.6682
}

Semantic roles & 50–950 ramp

primary
#D9DB7A
secondary
#4D4BAF
accent
#21C524
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #D9DB7A

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

Preview Lab → · Contrast checker → · Palette generator →

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