#D4D960#D4D960

#D4D960 is a very light, vivid yellow. Relative luminance 0.645; OKLCH L 85.8% C 0.144 H 111.3°. Best body text is #000000 at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#D4D960
RGBrgb(212, 217, 96)
HSLhsl(62, 61%, 61%)
HSVhsv(62, 56%, 85%)
CMYKcmyk(2.3%, 0%, 55.8%, 14.9%)
CIE-LABlab(84.21, -17.62, 57.85)
CIE-LCHlch(84.21, 60.47, 106.94°)
OKLaboklab(85.78% -0.0522 0.1342)
OKLCHoklch(85.78% 0.144 111.3)
XYZxyz(54.0769, 64.4685, 20.6591)
Luminance0.6447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D960 #6560D9
analogous
#D9A260 #D4D960 #98D960
triadic
#D4D960 #60D4D9 #D960D4
tetradic
#D4D960 #60D9A2 #6560D9 #D96098
square
#D4D960 #60D9A2 #6560D9 #D96098
split-complementary
#D4D960 #6098D9 #A260D9
monochromatic
#959A25 #C5CB31 #D4D960 #E1E591 #EFF1C3

Accessibility & contrast

On white

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

On black

13.89
#D4D960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D960
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D960#FFFFFF#000000##000000
##D4D9601.001.5113.8913.89
#FFFFFF1.511.0021.0021.00
#00000013.8921.001.001.00
##00000013.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4d960;
/* rgb */ color: rgb(212, 217, 96);
/* oklch */ color: oklch(85.8% 0.144 111.3);
Tailwind
colors: {
  custom: {
    50: '#e4e491',
    500: '#d4d960',
    950: '#000000',
  },
}
SCSS
$custom: #d4d960;
$custom-light: #e4e491;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d960",
  "rgb": {
    "r": 212,
    "g": 217,
    "b": 96
  },
  "hsl": {
    "h": 62.479,
    "s": 61.421,
    "l": 61.373
  },
  "oklch": {
    "l": 0.85777,
    "c": 0.14397,
    "h": 111.3
  },
  "luminance": 0.64467
}

Semantic roles & 50–950 ramp

primary
#D4D960
secondary
#433F9E
accent
#1CC924
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D4D960

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

Preview Lab → · Contrast checker → · Palette generator →

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