#D8D856#D8D856

#D8D856 is a very light, vivid yellow. Relative luminance 0.644; OKLCH L 85.8% C 0.151 H 109.2°. Best body text is #000000 at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#D8D856
RGBrgb(216, 216, 86)
HSLhsl(60, 63%, 59%)
HSVhsv(60, 60%, 85%)
CMYKcmyk(0%, 0%, 60.2%, 15.3%)
CIE-LABlab(84.17, -16.21, 62.21)
CIE-LCHlch(84.17, 64.29, 104.61°)
OKLaboklab(85.79% -0.0495 0.1421)
OKLCHoklch(85.79% 0.151 109.2)
XYZxyz(54.5561, 64.3840, 18.3558)
Luminance0.6438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D856 #5656D8
analogous
#D89756 #D8D856 #97D856
triadic
#D8D856 #56D8D8 #D856D8
tetradic
#D8D856 #56D897 #5656D8 #D85697
square
#D8D856 #56D897 #5656D8 #D85697
split-complementary
#D8D856 #5697D8 #9756D8
monochromatic
#929222 #C4C42D #D8D856 #E3E388 #EFEFB9

Accessibility & contrast

On white

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

On black

13.88
#D8D856 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D856
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D856#FFFFFF#000000##000000
##D8D8561.001.5113.8813.88
#FFFFFF1.511.0021.0021.00
#00000013.8821.001.001.00
##00000013.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8d856;
/* rgb */ color: rgb(216, 216, 86);
/* oklch */ color: oklch(85.8% 0.151 109.2);
Tailwind
colors: {
  custom: {
    50: '#e7e38b',
    500: '#d8d856',
    950: '#000000',
  },
}
SCSS
$custom: #d8d856;
$custom-light: #e7e38b;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d856",
  "rgb": {
    "r": 216,
    "g": 216,
    "b": 86
  },
  "hsl": {
    "h": 60,
    "s": 62.5,
    "l": 59.216
  },
  "oklch": {
    "l": 0.8579,
    "c": 0.15051,
    "h": 109.2
  },
  "luminance": 0.64383
}

Semantic roles & 50–950 ramp

primary
#D8D856
secondary
#3B3B97
accent
#42E642
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8D856

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

Preview Lab → · Contrast checker → · Palette generator →

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