#D9D561#D9D561

#D9D561 is a very light, vivid yellow. Relative luminance 0.632; OKLCH L 85.4% C 0.138 H 107.2°. Best body text is #000000 at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#D9D561
RGBrgb(217, 213, 97)
HSLhsl(58, 61%, 62%)
HSVhsv(58, 55%, 85%)
CMYKcmyk(0%, 1.8%, 55.3%, 14.9%)
CIE-LABlab(83.55, -13.53, 56.76)
CIE-LCHlch(83.55, 58.35, 103.41°)
OKLaboklab(85.35% -0.0407 0.1319)
OKLCHoklch(85.35% 0.138 107.2)
XYZxyz(54.5688, 63.2049, 20.6322)
Luminance0.6320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D561 #6165D9
analogous
#D99961 #D9D561 #A1D961
triadic
#D9D561 #61D9D5 #D561D9
tetradic
#D9D561 #61D999 #6165D9 #D961A1
square
#D9D561 #61D999 #6165D9 #D961A1
split-complementary
#D9D561 #61A1D9 #9961D9
monochromatic
#9A9725 #CCC731 #D9D561 #E5E292 #F1EFC4

Accessibility & contrast

On white

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

On black

13.64
#D9D561 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D561
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D561#FFFFFF#000000##000000
##D9D5611.001.5413.6413.64
#FFFFFF1.541.0021.0021.00
#00000013.6421.001.001.00
##00000013.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9d561;
/* rgb */ color: rgb(217, 213, 97);
/* oklch */ color: oklch(85.4% 0.138 107.2);
Tailwind
colors: {
  custom: {
    50: '#e7e192',
    500: '#d9d561',
    950: '#000000',
  },
}
SCSS
$custom: #d9d561;
$custom-light: #e7e192;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d561",
  "rgb": {
    "r": 217,
    "g": 213,
    "b": 97
  },
  "hsl": {
    "h": 58,
    "s": 61.224,
    "l": 61.569
  },
  "oklch": {
    "l": 0.85351,
    "c": 0.13802,
    "h": 107.2
  },
  "luminance": 0.63203
}

Semantic roles & 50–950 ramp

primary
#D9D561
secondary
#3F439F
accent
#22C91D
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #D9D561

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

Preview Lab → · Contrast checker → · Palette generator →

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