#D9DC3B#D9DC3B

#D9DC3B is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 86.5% C 0.172 H 110.6°. Best body text is #000000 at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#D9DC3B
RGBrgb(217, 220, 59)
HSLhsl(61, 70%, 55%)
HSVhsv(61, 73%, 86%)
CMYKcmyk(1.4%, 0%, 73.2%, 13.7%)
CIE-LABlab(85.13, -19.23, 73.34)
CIE-LCHlch(85.13, 75.82, 104.69°)
OKLaboklab(86.52% -0.0606 0.1613)
OKLCHoklch(86.52% 0.172 110.6)
XYZxyz(54.9998, 66.2554, 14.0282)
Luminance0.6625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9DC3B #3E3BDC
analogous
#DC8F3B #D9DC3B #89DC3B
triadic
#D9DC3B #3BD9DC #DC3BD9
tetradic
#D9DC3B #3BDC8F #3E3BDC #DC3B89
square
#D9DC3B #3BDC8F #3E3BDC #DC3B89
split-complementary
#D9DC3B #3B89DC #8F3BDC
monochromatic
#838518 #B6B921 #D9DC3B #E3E56F #EDEFA3

Accessibility & contrast

On white

1.47
#D9DC3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.25
#D9DC3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9DC3B
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9DC3B#FFFFFF#000000##000000
##D9DC3B1.001.4714.2514.25
#FFFFFF1.471.0021.0021.00
#00000014.2521.001.001.00
##00000014.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD218
Deuteranopia (green-blind)
#EFD748
Tritanopia (blue-blind)
#E8CEBD
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d9dc3b;
/* rgb */ color: rgb(217, 220, 59);
/* oklch */ color: oklch(86.5% 0.172 110.6);
Tailwind
colors: {
  custom: {
    50: '#e9e67d',
    500: '#d9dc3b',
    950: '#000000',
  },
}
SCSS
$custom: #d9dc3b;
$custom-light: #e9e67d;
$custom-dark: #000000;
JSON
{
  "hex": "#d9dc3b",
  "rgb": {
    "r": 217,
    "g": 220,
    "b": 59
  },
  "hsl": {
    "h": 61.118,
    "s": 69.697,
    "l": 54.706
  },
  "oklch": {
    "l": 0.86518,
    "c": 0.17235,
    "h": 110.6
  },
  "luminance": 0.66254
}

Semantic roles & 50–950 ramp

primary
#D9DC3B
secondary
#32308B
accent
#3BED3F
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #D9DC3B

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

Preview Lab → · Contrast checker → · Palette generator →

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