#D8D866#D8D866

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

Color values

HEX#D8D866
RGBrgb(216, 216, 102)
HSLhsl(60, 59%, 62%)
HSVhsv(60, 53%, 85%)
CMYKcmyk(0%, 0%, 52.8%, 15.3%)
CIE-LABlab(84.31, -15.04, 55.35)
CIE-LCHlch(84.31, 57.36, 105.20°)
OKLaboklab(85.96% -0.0445 0.1294)
OKLCHoklch(85.96% 0.137 109)
XYZxyz(55.2744, 64.6714, 22.1389)
Luminance0.6467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D866 #6666D8
analogous
#D89F66 #D8D866 #9FD866
triadic
#D8D866 #66D8D8 #D866D8
tetradic
#D8D866 #66D89F #6666D8 #D8669F
square
#D8D866 #66D89F #6666D8 #D8669F
split-complementary
#D8D866 #669FD8 #9F66D8
monochromatic
#9C9C28 #CCCC35 #D8D866 #E4E497 #F1F1C8

Accessibility & contrast

On white

1.51
#D8D866 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.93
#D8D866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D866
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D866#FFFFFF#000000##000000
##D8D8661.001.5113.9313.93
#FFFFFF1.511.0021.0021.00
#00000013.9321.001.001.00
##00000013.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D05B
Deuteranopia (green-blind)
#E9D46C
Tritanopia (blue-blind)
#E5CCBF
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d8d866;
/* rgb */ color: rgb(216, 216, 102);
/* oklch */ color: oklch(86.0% 0.137 109.0);
Tailwind
colors: {
  custom: {
    50: '#e6e395',
    500: '#d8d866',
    950: '#000000',
  },
}
SCSS
$custom: #d8d866;
$custom-light: #e6e395;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d866",
  "rgb": {
    "r": 216,
    "g": 216,
    "b": 102
  },
  "hsl": {
    "h": 60,
    "s": 59.375,
    "l": 62.353
  },
  "oklch": {
    "l": 0.85956,
    "c": 0.13682,
    "h": 109
  },
  "luminance": 0.6467
}

Semantic roles & 50–950 ramp

primary
#D8D866
secondary
#4242A0
accent
#1EC71E
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150D
muted
#84847F

Preview Lab

Preview with #D8D866

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

Preview Lab → · Contrast checker → · Palette generator →

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