#D8D956#D8D956

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

Color values

HEX#D8D956
RGBrgb(216, 217, 86)
HSLhsl(60, 63%, 59%)
HSVhsv(60, 60%, 85%)
CMYKcmyk(0.5%, 0%, 60.4%, 14.9%)
CIE-LABlab(84.43, -16.71, 62.50)
CIE-LCHlch(84.43, 64.70, 104.97°)
OKLaboklab(86% -0.0509 0.1427)
OKLCHoklch(86% 0.152 109.6)
XYZxyz(54.8131, 64.8980, 18.4415)
Luminance0.6490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D956 #5756D9
analogous
#D99956 #D8D956 #97D956
triadic
#D8D956 #56D8D9 #D956D8
tetradic
#D8D956 #56D999 #5756D9 #D95697
square
#D8D956 #56D999 #5756D9 #D95697
split-complementary
#D8D956 #5697D9 #9956D9
monochromatic
#939321 #C4C52C #D8D956 #E4E488 #EFEFBA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8D956#FFFFFF#000000##000000
##D8D9561.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)
#E9D046
Deuteranopia (green-blind)
#EBD55E
Tritanopia (blue-blind)
#E6CCBD
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d8d956;
/* rgb */ color: rgb(216, 217, 86);
/* oklch */ color: oklch(86.0% 0.152 109.6);
Tailwind
colors: {
  custom: {
    50: '#e7e48b',
    500: '#d8d956',
    950: '#000000',
  },
}
SCSS
$custom: #d8d956;
$custom-light: #e7e48b;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d956",
  "rgb": {
    "r": 216,
    "g": 217,
    "b": 86
  },
  "hsl": {
    "h": 60.458,
    "s": 63.285,
    "l": 59.412
  },
  "oklch": {
    "l": 0.86002,
    "c": 0.15153,
    "h": 109.6
  },
  "luminance": 0.64897
}

Semantic roles & 50–950 ramp

primary
#D8D956
secondary
#3C3B98
accent
#41E643
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8D956

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

Preview Lab → · Contrast checker → · Palette generator →

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