#D8D960#D8D960

#D8D960 is a very light, vivid yellow. Relative luminance 0.651; OKLCH L 86.1% C 0.143 H 109.5°. Best body text is #000000 at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#D8D960
RGBrgb(216, 217, 96)
HSLhsl(60, 61%, 61%)
HSVhsv(60, 56%, 85%)
CMYKcmyk(0.5%, 0%, 55.8%, 14.9%)
CIE-LABlab(84.52, -16.00, 58.28)
CIE-LCHlch(84.52, 60.44, 105.35°)
OKLaboklab(86.1% -0.0478 0.135)
OKLCHoklch(86.1% 0.143 109.5)
XYZxyz(55.2446, 65.0706, 20.7138)
Luminance0.6507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D960 #6160D9
analogous
#D99E60 #D8D960 #9CD960
triadic
#D8D960 #60D8D9 #D960D8
tetradic
#D8D960 #60D99E #6160D9 #D9609C
square
#D8D960 #60D99E #6160D9 #D9609C
split-complementary
#D8D960 #609CD9 #9E60D9
monochromatic
#999A25 #CACB31 #D8D960 #E4E591 #F0F1C3

Accessibility & contrast

On white

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

On black

14.01
#D8D960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D960
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D960#FFFFFF#000000##000000
##D8D9601.001.5014.0114.01
#FFFFFF1.501.0021.0021.00
#00000014.0121.001.001.00
##00000014.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D153
Deuteranopia (green-blind)
#EAD567
Tritanopia (blue-blind)
#E6CDBF
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d8d960;
/* rgb */ color: rgb(216, 217, 96);
/* oklch */ color: oklch(86.1% 0.143 109.5);
Tailwind
colors: {
  custom: {
    50: '#e7e491',
    500: '#d8d960',
    950: '#000000',
  },
}
SCSS
$custom: #d8d960;
$custom-light: #e7e491;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d960",
  "rgb": {
    "r": 216,
    "g": 217,
    "b": 96
  },
  "hsl": {
    "h": 60.496,
    "s": 61.421,
    "l": 61.373
  },
  "oklch": {
    "l": 0.86101,
    "c": 0.14325,
    "h": 109.5
  },
  "luminance": 0.65069
}

Semantic roles & 50–950 ramp

primary
#D8D960
secondary
#403F9E
accent
#1CC91E
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D8D960

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

Preview Lab → · Contrast checker → · Palette generator →

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