#D8D756#D8D756

#D8D756 is a very light, vivid yellow. Relative luminance 0.639; OKLCH L 85.6% C 0.149 H 108.8°. Best body text is #000000 at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#D8D756
RGBrgb(216, 215, 86)
HSLhsl(60, 63%, 59%)
HSVhsv(60, 60%, 85%)
CMYKcmyk(0%, 0.5%, 60.2%, 15.3%)
CIE-LABlab(83.90, -15.72, 61.93)
CIE-LCHlch(83.90, 63.89, 104.24°)
OKLaboklab(85.58% -0.0481 0.1415)
OKLCHoklch(85.58% 0.149 108.8)
XYZxyz(54.3007, 63.8732, 18.2707)
Luminance0.6387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D756 #5657D8
analogous
#D89656 #D8D756 #98D856
triadic
#D8D756 #56D8D7 #D756D8
tetradic
#D8D756 #56D896 #5657D8 #D85698
square
#D8D756 #56D896 #5657D8 #D85698
split-complementary
#D8D756 #5698D8 #9656D8
monochromatic
#929122 #C4C22D #D8D756 #E3E388 #EFEFB9

Accessibility & contrast

On white

1.52
#D8D756 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.77
#D8D756 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D756
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D756#FFFFFF#000000##000000
##D8D7561.001.5213.7713.77
#FFFFFF1.521.0021.0021.00
#00000013.7721.001.001.00
##00000013.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF47
Deuteranopia (green-blind)
#E9D35E
Tritanopia (blue-blind)
#E6CABC
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d8d756;
/* rgb */ color: rgb(216, 215, 86);
/* oklch */ color: oklch(85.6% 0.149 108.8);
Tailwind
colors: {
  custom: {
    50: '#e7e38b',
    500: '#d8d756',
    950: '#000000',
  },
}
SCSS
$custom: #d8d756;
$custom-light: #e7e38b;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d756",
  "rgb": {
    "r": 216,
    "g": 215,
    "b": 86
  },
  "hsl": {
    "h": 59.538,
    "s": 62.5,
    "l": 59.216
  },
  "oklch": {
    "l": 0.85578,
    "c": 0.14947,
    "h": 108.8
  },
  "luminance": 0.63872
}

Semantic roles & 50–950 ramp

primary
#D8D756
secondary
#3B3C97
accent
#43E642
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8D756

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

Preview Lab → · Contrast checker → · Palette generator →

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