#D7D960#D7D960

#D7D960 is a very light, vivid yellow. Relative luminance 0.649; OKLCH L 86.0% C 0.143 H 109.9°. Best body text is #000000 at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#D7D960
RGBrgb(215, 217, 96)
HSLhsl(61, 61%, 61%)
HSVhsv(61, 56%, 85%)
CMYKcmyk(0.9%, 0%, 55.8%, 14.9%)
CIE-LABlab(84.44, -16.41, 58.17)
CIE-LCHlch(84.44, 60.44, 105.75°)
OKLaboklab(86.02% -0.0489 0.1348)
OKLCHoklch(86.02% 0.143 109.9)
XYZxyz(54.9499, 64.9187, 20.7000)
Luminance0.6492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D960 #6260D9
analogous
#D99F60 #D7D960 #9BD960
triadic
#D7D960 #60D7D9 #D960D7
tetradic
#D7D960 #60D99F #6260D9 #D9609B
square
#D7D960 #60D99F #6260D9 #D9609B
split-complementary
#D7D960 #609BD9 #9F60D9
monochromatic
#989A25 #C9CB31 #D7D960 #E3E591 #F0F1C3

Accessibility & contrast

On white

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

On black

13.98
#D7D960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D960
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D960#FFFFFF#000000##000000
##D7D9601.001.5013.9813.98
#FFFFFF1.501.0021.0021.00
#00000013.9821.001.001.00
##00000013.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7d960;
/* rgb */ color: rgb(215, 217, 96);
/* oklch */ color: oklch(86.0% 0.143 109.9);
Tailwind
colors: {
  custom: {
    50: '#e6e491',
    500: '#d7d960',
    950: '#000000',
  },
}
SCSS
$custom: #d7d960;
$custom-light: #e6e491;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d960",
  "rgb": {
    "r": 215,
    "g": 217,
    "b": 96
  },
  "hsl": {
    "h": 60.992,
    "s": 61.421,
    "l": 61.373
  },
  "oklch": {
    "l": 0.8602,
    "c": 0.14341,
    "h": 109.9
  },
  "luminance": 0.64917
}

Semantic roles & 50–950 ramp

primary
#D7D960
secondary
#413F9E
accent
#1CC91F
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D7D960

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

Preview Lab → · Contrast checker → · Palette generator →

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