#D9D86C#D9D86C

#D9D86C is a very light, vivid yellow. Relative luminance 0.649; OKLCH L 86.1% C 0.131 H 108.4°. Best body text is #000000 at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#D9D86C
RGBrgb(217, 216, 108)
HSLhsl(59, 59%, 64%)
HSVhsv(59, 50%, 85%)
CMYKcmyk(0%, 0.5%, 50.2%, 14.9%)
CIE-LABlab(84.46, -14.14, 52.76)
CIE-LCHlch(84.46, 54.63, 105.00°)
OKLaboklab(86.11% -0.0413 0.1244)
OKLCHoklch(86.11% 0.131 108.4)
XYZxyz(55.8792, 64.9476, 23.7770)
Luminance0.6495 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D86C #6C6DD9
analogous
#D9A16C #D9D86C #A3D96C
triadic
#D9D86C #6CD9D8 #D86CD9
tetradic
#D9D86C #6CD9A1 #6C6DD9 #D96CA3
square
#D9D86C #6CD9A1 #6C6DD9 #D96CA3
split-complementary
#D9D86C #6CA3D9 #A16CD9
monochromatic
#A1A02A #CCCB3B #D9D86C #E6E59D #F2F2CD

Accessibility & contrast

On white

1.50
#D9D86C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.99
#D9D86C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D86C
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D86C#FFFFFF#000000##000000
##D9D86C1.001.5013.9913.99
#FFFFFF1.501.0021.0021.00
#00000013.9921.001.001.00
##00000013.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D162
Deuteranopia (green-blind)
#E9D571
Tritanopia (blue-blind)
#E6CCBF
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d9d86c;
/* rgb */ color: rgb(217, 216, 108);
/* oklch */ color: oklch(86.1% 0.131 108.4);
Tailwind
colors: {
  custom: {
    50: '#e7e399',
    500: '#d9d86c',
    950: '#000000',
  },
}
SCSS
$custom: #d9d86c;
$custom-light: #e7e399;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d86c",
  "rgb": {
    "r": 217,
    "g": 216,
    "b": 108
  },
  "hsl": {
    "h": 59.45,
    "s": 58.919,
    "l": 63.725
  },
  "oklch": {
    "l": 0.8611,
    "c": 0.13105,
    "h": 108.4
  },
  "luminance": 0.64946
}

Semantic roles & 50–950 ramp

primary
#D9D86C
secondary
#4545A5
accent
#20C71F
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D9D86C

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

Preview Lab → · Contrast checker → · Palette generator →

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