#D8D561#D8D561

#D8D561 is a very light, vivid yellow. Relative luminance 0.630; OKLCH L 85.3% C 0.138 H 107.6°. Best body text is #000000 at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#D8D561
RGBrgb(216, 213, 97)
HSLhsl(58, 60%, 61%)
HSVhsv(58, 55%, 85%)
CMYKcmyk(0%, 1.4%, 55.1%, 15.3%)
CIE-LABlab(83.47, -13.94, 56.65)
CIE-LCHlch(83.47, 58.34, 103.82°)
OKLaboklab(85.27% -0.0418 0.1316)
OKLCHoklch(85.27% 0.138 107.6)
XYZxyz(54.2724, 63.0520, 20.6183)
Luminance0.6305 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D561 #6164D8
analogous
#D89A61 #D8D561 #A0D861
triadic
#D8D561 #61D8D5 #D561D8
tetradic
#D8D561 #61D89A #6164D8 #D861A0
square
#D8D561 #61D89A #6164D8 #D861A0
split-complementary
#D8D561 #61A0D8 #9A61D8
monochromatic
#999626 #CAC632 #D8D561 #E4E292 #F0EFC3

Accessibility & contrast

On white

1.54
#D8D561 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.61
#D8D561 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D561
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D561#FFFFFF#000000##000000
##D8D5611.001.5413.6113.61
#FFFFFF1.541.0021.0021.00
#00000013.6121.001.001.00
##00000013.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD55
Deuteranopia (green-blind)
#E7D267
Tritanopia (blue-blind)
#E6C9BB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d8d561;
/* rgb */ color: rgb(216, 213, 97);
/* oklch */ color: oklch(85.3% 0.138 107.6);
Tailwind
colors: {
  custom: {
    50: '#e6e192',
    500: '#d8d561',
    950: '#000000',
  },
}
SCSS
$custom: #d8d561;
$custom-light: #e6e192;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d561",
  "rgb": {
    "r": 216,
    "g": 213,
    "b": 97
  },
  "hsl": {
    "h": 58.487,
    "s": 60.406,
    "l": 61.373
  },
  "oklch": {
    "l": 0.85267,
    "c": 0.13813,
    "h": 107.6
  },
  "luminance": 0.6305
}

Semantic roles & 50–950 ramp

primary
#D8D561
secondary
#40429D
accent
#22C81D
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D8D561

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

Preview Lab → · Contrast checker → · Palette generator →

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