#D8D556#D8D556

#D8D556 is a very light, vivid yellow. Relative luminance 0.629; OKLCH L 85.2% C 0.147 H 107.9°. Best body text is #000000 at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#D8D556
RGBrgb(216, 213, 86)
HSLhsl(59, 63%, 59%)
HSVhsv(59, 60%, 85%)
CMYKcmyk(0%, 1.4%, 60.2%, 15.3%)
CIE-LABlab(83.37, -14.73, 61.35)
CIE-LCHlch(83.37, 63.10, 103.50°)
OKLaboklab(85.16% -0.0453 0.1403)
OKLCHoklch(85.16% 0.147 107.9)
XYZxyz(53.7946, 62.8609, 18.1019)
Luminance0.6286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D556 #5659D8
analogous
#D89456 #D8D556 #9AD856
triadic
#D8D556 #56D8D5 #D556D8
tetradic
#D8D556 #56D894 #5659D8 #D8569A
square
#D8D556 #56D894 #5659D8 #D8569A
split-complementary
#D8D556 #569AD8 #9456D8
monochromatic
#928F22 #C4C02D #D8D556 #E3E188 #EFEEB9

Accessibility & contrast

On white

1.55
#D8D556 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.57
#D8D556 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D556
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D556#FFFFFF#000000##000000
##D8D5561.001.5513.5713.57
#FFFFFF1.551.0021.0021.00
#00000013.5721.001.001.00
##00000013.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD47
Deuteranopia (green-blind)
#E8D25D
Tritanopia (blue-blind)
#E6C8BA
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d8d556;
/* rgb */ color: rgb(216, 213, 86);
/* oklch */ color: oklch(85.2% 0.147 107.9);
Tailwind
colors: {
  custom: {
    50: '#e7e18b',
    500: '#d8d556',
    950: '#000000',
  },
}
SCSS
$custom: #d8d556;
$custom-light: #e7e18b;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d556",
  "rgb": {
    "r": 216,
    "g": 213,
    "b": 86
  },
  "hsl": {
    "h": 58.615,
    "s": 62.5,
    "l": 59.216
  },
  "oklch": {
    "l": 0.85155,
    "c": 0.14743,
    "h": 107.9
  },
  "luminance": 0.62859
}

Semantic roles & 50–950 ramp

primary
#D8D556
secondary
#3B3D97
accent
#46E642
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8D556

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

Preview Lab → · Contrast checker → · Palette generator →

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