#D8D558#D8D558

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

Color values

HEX#D8D558
RGBrgb(216, 213, 88)
HSLhsl(59, 62%, 60%)
HSVhsv(59, 59%, 85%)
CMYKcmyk(0%, 1.4%, 59.3%, 15.3%)
CIE-LABlab(83.39, -14.59, 60.52)
CIE-LCHlch(83.39, 62.25, 103.55°)
OKLaboklab(85.17% -0.0447 0.1388)
OKLCHoklch(85.17% 0.146 107.8)
XYZxyz(53.8763, 62.8936, 18.5323)
Luminance0.6289 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D558 #585BD8
analogous
#D89558 #D8D558 #9BD858
triadic
#D8D558 #58D8D5 #D558D8
tetradic
#D8D558 #58D895 #585BD8 #D8589B
square
#D8D558 #58D895 #585BD8 #D8589B
split-complementary
#D8D558 #589BD8 #9558D8
monochromatic
#939122 #C5C12E #D8D558 #E4E18A #EFEEBB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8D558#FFFFFF#000000##000000
##D8D5581.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)
#E5CD4A
Deuteranopia (green-blind)
#E7D25F
Tritanopia (blue-blind)
#E6C8BA
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d8d558;
/* rgb */ color: rgb(216, 213, 88);
/* oklch */ color: oklch(85.2% 0.146 107.8);
Tailwind
colors: {
  custom: {
    50: '#e7e18c',
    500: '#d8d558',
    950: '#000000',
  },
}
SCSS
$custom: #d8d558;
$custom-light: #e7e18c;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d558",
  "rgb": {
    "r": 216,
    "g": 213,
    "b": 88
  },
  "hsl": {
    "h": 58.594,
    "s": 62.136,
    "l": 59.608
  },
  "oklch": {
    "l": 0.85174,
    "c": 0.14581,
    "h": 107.8
  },
  "luminance": 0.62892
}

Semantic roles & 50–950 ramp

primary
#D8D558
secondary
#3C3E98
accent
#46E543
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8D558

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

Preview Lab → · Contrast checker → · Palette generator →

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