#D8D456#D8D456

#D8D456 is a very light, vivid yellow. Relative luminance 0.624; OKLCH L 84.9% C 0.146 H 107.4°. Best body text is #000000 at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#D8D456
RGBrgb(216, 212, 86)
HSLhsl(58, 63%, 59%)
HSVhsv(58, 60%, 85%)
CMYKcmyk(0%, 1.9%, 60.2%, 15.3%)
CIE-LABlab(83.10, -14.23, 61.07)
CIE-LCHlch(83.10, 62.70, 103.11°)
OKLaboklab(84.94% -0.0438 0.1397)
OKLCHoklch(84.94% 0.146 107.4)
XYZxyz(53.5438, 62.3594, 18.0184)
Luminance0.6236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D456 #565AD8
analogous
#D89356 #D8D456 #9BD856
triadic
#D8D456 #56D8D4 #D456D8
tetradic
#D8D456 #56D893 #565AD8 #D8569B
square
#D8D456 #56D893 #565AD8 #D8569B
split-complementary
#D8D456 #569BD8 #9356D8
monochromatic
#928E22 #C4BF2D #D8D456 #E3E188 #EFEDB9

Accessibility & contrast

On white

1.56
#D8D456 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.47
#D8D456 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D456
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D456#FFFFFF#000000##000000
##D8D4561.001.5613.4713.47
#FFFFFF1.561.0021.0021.00
#00000013.4721.001.001.00
##00000013.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC47
Deuteranopia (green-blind)
#E7D15D
Tritanopia (blue-blind)
#E6C7B9
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d8d456;
/* rgb */ color: rgb(216, 212, 86);
/* oklch */ color: oklch(84.9% 0.146 107.4);
Tailwind
colors: {
  custom: {
    50: '#e7e18b',
    500: '#d8d456',
    950: '#000000',
  },
}
SCSS
$custom: #d8d456;
$custom-light: #e7e18b;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d456",
  "rgb": {
    "r": 216,
    "g": 212,
    "b": 86
  },
  "hsl": {
    "h": 58.154,
    "s": 62.5,
    "l": 59.216
  },
  "oklch": {
    "l": 0.84944,
    "c": 0.14642,
    "h": 107.4
  },
  "luminance": 0.62358
}

Semantic roles & 50–950 ramp

primary
#D8D456
secondary
#3B3E97
accent
#47E642
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8D456

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

Preview Lab → · Contrast checker → · Palette generator →

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