#D9D866#D9D866

#D9D866 is a very light, vivid yellow. Relative luminance 0.648; OKLCH L 86.0% C 0.137 H 108.5°. Best body text is #000000 at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#D9D866
RGBrgb(217, 216, 102)
HSLhsl(59, 60%, 63%)
HSVhsv(59, 53%, 85%)
CMYKcmyk(0%, 0.5%, 53%, 14.9%)
CIE-LABlab(84.39, -14.64, 55.46)
CIE-LCHlch(84.39, 57.36, 104.78°)
OKLaboklab(86.04% -0.0434 0.1296)
OKLCHoklch(86.04% 0.137 108.5)
XYZxyz(55.5709, 64.8242, 22.1528)
Luminance0.6482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D866 #6667D9
analogous
#D99E66 #D9D866 #A1D966
triadic
#D9D866 #66D9D8 #D866D9
tetradic
#D9D866 #66D99E #6667D9 #D966A1
square
#D9D866 #66D99E #6667D9 #D966A1
split-complementary
#D9D866 #66A1D9 #9E66D9
monochromatic
#9D9C27 #CDCC35 #D9D866 #E5E497 #F1F1C8

Accessibility & contrast

On white

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

On black

13.96
#D9D866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D866
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D866#FFFFFF#000000##000000
##D9D8661.001.5013.9613.96
#FFFFFF1.501.0021.0021.00
#00000013.9621.001.001.00
##00000013.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9d866;
/* rgb */ color: rgb(217, 216, 102);
/* oklch */ color: oklch(86.0% 0.137 108.5);
Tailwind
colors: {
  custom: {
    50: '#e7e395',
    500: '#d9d866',
    950: '#000000',
  },
}
SCSS
$custom: #d9d866;
$custom-light: #e7e395;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d866",
  "rgb": {
    "r": 217,
    "g": 216,
    "b": 102
  },
  "hsl": {
    "h": 59.478,
    "s": 60.209,
    "l": 62.549
  },
  "oklch": {
    "l": 0.86038,
    "c": 0.13667,
    "h": 108.5
  },
  "luminance": 0.64823
}

Semantic roles & 50–950 ramp

primary
#D9D866
secondary
#4243A1
accent
#1FC81E
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150D
muted
#84847F

Preview Lab

Preview with #D9D866

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

Preview Lab → · Contrast checker → · Palette generator →

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