#D5D960#D5D960

#D5D960 is a very light, vivid yellow. Relative luminance 0.646; OKLCH L 85.9% C 0.144 H 110.8°. Best body text is #000000 at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#D5D960
RGBrgb(213, 217, 96)
HSLhsl(62, 61%, 61%)
HSVhsv(62, 56%, 85%)
CMYKcmyk(1.8%, 0%, 55.8%, 14.9%)
CIE-LABlab(84.29, -17.22, 57.96)
CIE-LCHlch(84.29, 60.46, 106.55°)
OKLaboklab(85.86% -0.0511 0.1344)
OKLCHoklch(85.86% 0.144 110.8)
XYZxyz(54.3661, 64.6176, 20.6726)
Luminance0.6462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D960 #6460D9
analogous
#D9A160 #D5D960 #99D960
triadic
#D5D960 #60D5D9 #D960D5
tetradic
#D5D960 #60D9A1 #6460D9 #D96099
square
#D5D960 #60D9A1 #6460D9 #D96099
split-complementary
#D5D960 #6099D9 #A160D9
monochromatic
#969A25 #C6CB31 #D5D960 #E2E591 #EFF1C3

Accessibility & contrast

On white

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

On black

13.92
#D5D960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D960
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D960#FFFFFF#000000##000000
##D5D9601.001.5113.9213.92
#FFFFFF1.511.0021.0021.00
#00000013.9221.001.001.00
##00000013.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5d960;
/* rgb */ color: rgb(213, 217, 96);
/* oklch */ color: oklch(85.9% 0.144 110.8);
Tailwind
colors: {
  custom: {
    50: '#e4e491',
    500: '#d5d960',
    950: '#000000',
  },
}
SCSS
$custom: #d5d960;
$custom-light: #e4e491;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d960",
  "rgb": {
    "r": 213,
    "g": 217,
    "b": 96
  },
  "hsl": {
    "h": 61.983,
    "s": 61.421,
    "l": 61.373
  },
  "oklch": {
    "l": 0.85858,
    "c": 0.14378,
    "h": 110.8
  },
  "luminance": 0.64616
}

Semantic roles & 50–950 ramp

primary
#D5D960
secondary
#423F9E
accent
#1CC922
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D5D960

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

Preview Lab → · Contrast checker → · Palette generator →

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