#D9D960#D9D960

#D9D960 is a very light, vivid yellow. Relative luminance 0.652; OKLCH L 86.2% C 0.143 H 109.1°. Best body text is #000000 at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#D9D960
RGBrgb(217, 217, 96)
HSLhsl(60, 61%, 61%)
HSVhsv(60, 56%, 85%)
CMYKcmyk(0%, 0%, 55.8%, 14.9%)
CIE-LABlab(84.60, -15.60, 58.39)
CIE-LCHlch(84.60, 60.44, 104.95°)
OKLaboklab(86.18% -0.0467 0.1353)
OKLCHoklch(86.18% 0.143 109.1)
XYZxyz(55.5410, 65.2234, 20.7277)
Luminance0.6522 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D960 #6060D9
analogous
#D99D60 #D9D960 #9DD960
triadic
#D9D960 #60D9D9 #D960D9
tetradic
#D9D960 #60D99D #6060D9 #D9609D
square
#D9D960 #60D99D #6060D9 #D9609D
split-complementary
#D9D960 #609DD9 #9D60D9
monochromatic
#9A9A25 #CBCB31 #D9D960 #E5E591 #F1F1C3

Accessibility & contrast

On white

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

On black

14.04
#D9D960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D960
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D960#FFFFFF#000000##000000
##D9D9601.001.5014.0414.04
#FFFFFF1.501.0021.0021.00
#00000014.0421.001.001.00
##00000014.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9d960;
/* rgb */ color: rgb(217, 217, 96);
/* oklch */ color: oklch(86.2% 0.143 109.1);
Tailwind
colors: {
  custom: {
    50: '#e7e491',
    500: '#d9d960',
    950: '#000000',
  },
}
SCSS
$custom: #d9d960;
$custom-light: #e7e491;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d960",
  "rgb": {
    "r": 217,
    "g": 217,
    "b": 96
  },
  "hsl": {
    "h": 60,
    "s": 61.421,
    "l": 61.373
  },
  "oklch": {
    "l": 0.86183,
    "c": 0.1431,
    "h": 109.1
  },
  "luminance": 0.65222
}

Semantic roles & 50–950 ramp

primary
#D9D960
secondary
#3F3F9E
accent
#1CC91C
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #D9D960

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

Preview Lab → · Contrast checker → · Palette generator →

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