#D9DB3A#D9DB3A

#D9DB3A is a very light, vivid yellow. Relative luminance 0.657; OKLCH L 86.3% C 0.172 H 110.2°. Best body text is #000000 at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#D9DB3A
RGBrgb(217, 219, 58)
HSLhsl(61, 69%, 54%)
HSVhsv(61, 74%, 86%)
CMYKcmyk(0.9%, 0%, 73.5%, 14.1%)
CIE-LABlab(84.85, -18.79, 73.41)
CIE-LCHlch(84.85, 75.78, 104.36°)
OKLaboklab(86.3% -0.0595 0.1613)
OKLCHoklch(86.3% 0.172 110.2)
XYZxyz(54.7125, 65.7218, 13.8057)
Luminance0.6572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9DB3A #3C3ADB
analogous
#DB8C3A #D9DB3A #89DB3A
triadic
#D9DB3A #3AD9DB #DB3AD9
tetradic
#D9DB3A #3ADB8C #3C3ADB #DB3A89
square
#D9DB3A #3ADB8C #3C3ADB #DB3A89
split-complementary
#D9DB3A #3A89DB #8C3ADB
monochromatic
#818318 #B5B621 #D9DB3A #E3E46E #EDEEA1

Accessibility & contrast

On white

1.48
#D9DB3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.14
#D9DB3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9DB3A
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9DB3A#FFFFFF#000000##000000
##D9DB3A1.001.4814.1414.14
#FFFFFF1.481.0021.0021.00
#00000014.1421.001.001.00
##00000014.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD115
Deuteranopia (green-blind)
#EED647
Tritanopia (blue-blind)
#E8CDBD
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d9db3a;
/* rgb */ color: rgb(217, 219, 58);
/* oklch */ color: oklch(86.3% 0.172 110.2);
Tailwind
colors: {
  custom: {
    50: '#e9e57c',
    500: '#d9db3a',
    950: '#000000',
  },
}
SCSS
$custom: #d9db3a;
$custom-light: #e9e57c;
$custom-dark: #000000;
JSON
{
  "hex": "#d9db3a",
  "rgb": {
    "r": 217,
    "g": 219,
    "b": 58
  },
  "hsl": {
    "h": 60.745,
    "s": 69.099,
    "l": 54.314
  },
  "oklch": {
    "l": 0.86299,
    "c": 0.17192,
    "h": 110.2
  },
  "luminance": 0.6572
}

Semantic roles & 50–950 ramp

primary
#D9DB3A
secondary
#313089
accent
#3CEC3E
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #D9DB3A

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

Preview Lab → · Contrast checker → · Palette generator →

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