#D9D856#D9D856

#D9D856 is a very light, vivid yellow. Relative luminance 0.645; OKLCH L 85.9% C 0.150 H 108.8°. Best body text is #000000 at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#D9D856
RGBrgb(217, 216, 86)
HSLhsl(60, 63%, 59%)
HSVhsv(60, 60%, 85%)
CMYKcmyk(0%, 0.5%, 60.4%, 14.9%)
CIE-LABlab(84.24, -15.80, 62.32)
CIE-LCHlch(84.24, 64.30, 104.23°)
OKLaboklab(85.87% -0.0484 0.1423)
OKLCHoklch(85.87% 0.15 108.8)
XYZxyz(54.8525, 64.5369, 18.3697)
Luminance0.6453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D856 #5657D9
analogous
#D99756 #D9D856 #99D956
triadic
#D9D856 #56D9D8 #D856D9
tetradic
#D9D856 #56D997 #5657D9 #D95699
square
#D9D856 #56D997 #5657D9 #D95699
split-complementary
#D9D856 #5699D9 #9756D9
monochromatic
#939321 #C5C42C #D9D856 #E4E488 #EFEFBA

Accessibility & contrast

On white

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

On black

13.91
#D9D856 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D856
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D856#FFFFFF#000000##000000
##D9D8561.001.5113.9113.91
#FFFFFF1.511.0021.0021.00
#00000013.9121.001.001.00
##00000013.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D047
Deuteranopia (green-blind)
#EAD45E
Tritanopia (blue-blind)
#E7CBBD
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d9d856;
/* rgb */ color: rgb(217, 216, 86);
/* oklch */ color: oklch(85.9% 0.150 108.8);
Tailwind
colors: {
  custom: {
    50: '#e8e38b',
    500: '#d9d856',
    950: '#000000',
  },
}
SCSS
$custom: #d9d856;
$custom-light: #e8e38b;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d856",
  "rgb": {
    "r": 217,
    "g": 216,
    "b": 86
  },
  "hsl": {
    "h": 59.542,
    "s": 63.285,
    "l": 59.412
  },
  "oklch": {
    "l": 0.85872,
    "c": 0.15034,
    "h": 108.8
  },
  "luminance": 0.64535
}

Semantic roles & 50–950 ramp

primary
#D9D856
secondary
#3B3C98
accent
#43E641
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9D856

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

Preview Lab → · Contrast checker → · Palette generator →

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