#D8D559#D8D559

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

Color values

HEX#D8D559
RGBrgb(216, 213, 89)
HSLhsl(59, 62%, 60%)
HSVhsv(59, 59%, 85%)
CMYKcmyk(0%, 1.4%, 58.8%, 15.3%)
CIE-LABlab(83.40, -14.52, 60.10)
CIE-LCHlch(83.40, 61.83, 103.58°)
OKLaboklab(85.18% -0.0444 0.138)
OKLCHoklch(85.18% 0.145 107.8)
XYZxyz(53.9180, 62.9103, 18.7519)
Luminance0.6291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D559 #595CD8
analogous
#D89659 #D8D559 #9BD859
triadic
#D8D559 #59D8D5 #D559D8
tetradic
#D8D559 #59D896 #595CD8 #D8599B
square
#D8D559 #59D896 #595CD8 #D8599B
split-complementary
#D8D559 #599BD8 #9659D8
monochromatic
#949123 #C5C22E #D8D559 #E4E28B #EFEEBC

Accessibility & contrast

On white

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

On black

13.58
#D8D559 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D559
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D559#FFFFFF#000000##000000
##D8D5591.001.5513.5813.58
#FFFFFF1.551.0021.0021.00
#00000013.5821.001.001.00
##00000013.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8d559;
/* rgb */ color: rgb(216, 213, 89);
/* oklch */ color: oklch(85.2% 0.145 107.8);
Tailwind
colors: {
  custom: {
    50: '#e7e18d',
    500: '#d8d559',
    950: '#000000',
  },
}
SCSS
$custom: #d8d559;
$custom-light: #e7e18d;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d559",
  "rgb": {
    "r": 216,
    "g": 213,
    "b": 89
  },
  "hsl": {
    "h": 58.583,
    "s": 61.951,
    "l": 59.804
  },
  "oklch": {
    "l": 0.85184,
    "c": 0.14499,
    "h": 107.8
  },
  "luminance": 0.62909
}

Semantic roles & 50–950 ramp

primary
#D8D559
secondary
#3C3F99
accent
#47E543
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8D559

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

Preview Lab → · Contrast checker → · Palette generator →

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