#D9DC5B#D9DC5B

#D9DC5B is a very light, vivid yellow. Relative luminance 0.667; OKLCH L 86.8% C 0.150 H 110.4°. Best body text is #000000 at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#D9DC5B
RGBrgb(217, 220, 91)
HSLhsl(61, 65%, 61%)
HSVhsv(61, 59%, 86%)
CMYKcmyk(1.4%, 0%, 58.6%, 13.7%)
CIE-LABlab(85.35, -17.44, 61.41)
CIE-LCHlch(85.35, 63.83, 105.86°)
OKLaboklab(86.77% -0.0525 0.1411)
OKLCHoklch(86.77% 0.151 110.4)
XYZxyz(56.0983, 66.6948, 19.8138)
Luminance0.6669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9DC5B #5E5BDC
analogous
#DC9E5B #D9DC5B #98DC5B
triadic
#D9DC5B #5BD9DC #DC5BD9
tetradic
#D9DC5B #5BDC9E #5E5BDC #DC5B98
square
#D9DC5B #5BDC9E #5E5BDC #DC5B98
split-complementary
#D9DC5B #5B98DC #9E5BDC
monochromatic
#999B21 #CACE2C #D9DC5B #E5E78D #F0F2C0

Accessibility & contrast

On white

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

On black

14.34
#D9DC5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9DC5B
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9DC5B#FFFFFF#000000##000000
##D9DC5B1.001.4614.3414.34
#FFFFFF1.461.0021.0021.00
#00000014.3421.001.001.00
##00000014.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD34C
Deuteranopia (green-blind)
#EDD763
Tritanopia (blue-blind)
#E7CFC0
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d9dc5b;
/* rgb */ color: rgb(217, 220, 91);
/* oklch */ color: oklch(86.8% 0.150 110.4);
Tailwind
colors: {
  custom: {
    50: '#e7e68e',
    500: '#d9dc5b',
    950: '#000000',
  },
}
SCSS
$custom: #d9dc5b;
$custom-light: #e7e68e;
$custom-dark: #000000;
JSON
{
  "hex": "#d9dc5b",
  "rgb": {
    "r": 217,
    "g": 220,
    "b": 91
  },
  "hsl": {
    "h": 61.395,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.86768,
    "c": 0.1505,
    "h": 110.4
  },
  "luminance": 0.66693
}

Semantic roles & 50–950 ramp

primary
#D9DC5B
secondary
#3E3C9F
accent
#19CD1D
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #D9DC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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