#D2D960#D2D960

#D2D960 is a very light, vivid yellow. Relative luminance 0.642; OKLCH L 85.6% C 0.144 H 112.1°. Best body text is #000000 at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#D2D960
RGBrgb(210, 217, 96)
HSLhsl(63, 61%, 61%)
HSVhsv(63, 56%, 85%)
CMYKcmyk(3.2%, 0%, 55.8%, 14.9%)
CIE-LABlab(84.06, -18.43, 57.63)
CIE-LCHlch(84.06, 60.51, 107.73°)
OKLaboklab(85.62% -0.0543 0.1338)
OKLCHoklch(85.62% 0.144 112.1)
XYZxyz(53.5038, 64.1730, 20.6322)
Luminance0.6417 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D960 #6760D9
analogous
#D9A460 #D2D960 #96D960
triadic
#D2D960 #60D2D9 #D960D2
tetradic
#D2D960 #60D9A4 #6760D9 #D96096
square
#D2D960 #60D9A4 #6760D9 #D96096
split-complementary
#D2D960 #6096D9 #A460D9
monochromatic
#939A25 #C2CB31 #D2D960 #E0E591 #EEF1C3

Accessibility & contrast

On white

1.52
#D2D960 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.83
#D2D960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D960
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D960#FFFFFF#000000##000000
##D2D9601.001.5213.8313.83
#FFFFFF1.521.0021.0021.00
#00000013.8321.001.001.00
##00000013.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D053
Deuteranopia (green-blind)
#E8D367
Tritanopia (blue-blind)
#DFCDBF
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d2d960;
/* rgb */ color: rgb(210, 217, 96);
/* oklch */ color: oklch(85.6% 0.144 112.1);
Tailwind
colors: {
  custom: {
    50: '#e2e491',
    500: '#d2d960',
    950: '#000000',
  },
}
SCSS
$custom: #d2d960;
$custom-light: #e2e491;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d960",
  "rgb": {
    "r": 210,
    "g": 217,
    "b": 96
  },
  "hsl": {
    "h": 63.471,
    "s": 61.421,
    "l": 61.373
  },
  "oklch": {
    "l": 0.85617,
    "c": 0.14437,
    "h": 112.1
  },
  "luminance": 0.64172
}

Semantic roles & 50–950 ramp

primary
#D2D960
secondary
#453F9E
accent
#1CC926
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2D960

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

Preview Lab → · Contrast checker → · Palette generator →

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