#D7D560#D7D560

#D7D560 is a very light, vivid yellow. Relative luminance 0.629; OKLCH L 85.2% C 0.139 H 108.1°. Best body text is #000000 at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#D7D560
RGBrgb(215, 213, 96)
HSLhsl(59, 60%, 61%)
HSVhsv(59, 55%, 84%)
CMYKcmyk(0%, 0.9%, 55.3%, 15.7%)
CIE-LABlab(83.38, -14.42, 56.98)
CIE-LCHlch(83.38, 58.77, 104.20°)
OKLaboklab(85.17% -0.0433 0.1323)
OKLCHoklch(85.17% 0.139 108.1)
XYZxyz(53.9314, 62.8816, 20.3605)
Luminance0.6288 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D560 #6062D7
analogous
#D79960 #D7D560 #9DD760
triadic
#D7D560 #60D7D5 #D560D7
tetradic
#D7D560 #60D799 #6062D7 #D7609D
square
#D7D560 #60D799 #6062D7 #D7609D
split-complementary
#D7D560 #609DD7 #9960D7
monochromatic
#979526 #C8C532 #D7D560 #E3E291 #F0EFC2

Accessibility & contrast

On white

1.55
#D7D560 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.58
#D7D560 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D560
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D560#FFFFFF#000000##000000
##D7D5601.001.5513.5813.58
#FFFFFF1.551.0021.0021.00
#00000013.5821.001.001.00
##00000013.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD54
Deuteranopia (green-blind)
#E7D266
Tritanopia (blue-blind)
#E5C9BB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d7d560;
/* rgb */ color: rgb(215, 213, 96);
/* oklch */ color: oklch(85.2% 0.139 108.1);
Tailwind
colors: {
  custom: {
    50: '#e6e191',
    500: '#d7d560',
    950: '#000000',
  },
}
SCSS
$custom: #d7d560;
$custom-light: #e6e191;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d560",
  "rgb": {
    "r": 215,
    "g": 213,
    "b": 96
  },
  "hsl": {
    "h": 58.992,
    "s": 59.799,
    "l": 60.98
  },
  "oklch": {
    "l": 0.85173,
    "c": 0.13915,
    "h": 108.1
  },
  "luminance": 0.6288
}

Semantic roles & 50–950 ramp

primary
#D7D560
secondary
#40419B
accent
#21C71E
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D7D560

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

Preview Lab → · Contrast checker → · Palette generator →

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