#D8D557#D8D557

#D8D557 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.58:1 contrast (WCAG AA passes).

Color values

HEX#D8D557
RGBrgb(216, 213, 87)
HSLhsl(59, 62%, 59%)
HSVhsv(59, 60%, 85%)
CMYKcmyk(0%, 1.4%, 59.7%, 15.3%)
CIE-LABlab(83.38, -14.66, 60.94)
CIE-LCHlch(83.38, 62.68, 103.53°)
OKLaboklab(85.16% -0.045 0.1396)
OKLCHoklch(85.16% 0.147 107.9)
XYZxyz(53.8351, 62.8771, 18.3156)
Luminance0.6288 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D557 #575AD8
analogous
#D89557 #D8D557 #9AD857
triadic
#D8D557 #57D8D5 #D557D8
tetradic
#D8D557 #57D895 #575AD8 #D8579A
square
#D8D557 #57D895 #575AD8 #D8579A
split-complementary
#D8D557 #579AD8 #9557D8
monochromatic
#939022 #C4C12E #D8D557 #E4E189 #EFEEBA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8D557#FFFFFF#000000##000000
##D8D5571.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)
#E5CD48
Deuteranopia (green-blind)
#E8D25E
Tritanopia (blue-blind)
#E6C8BA
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d8d557;
/* rgb */ color: rgb(216, 213, 87);
/* oklch */ color: oklch(85.2% 0.147 107.9);
Tailwind
colors: {
  custom: {
    50: '#e7e18b',
    500: '#d8d557',
    950: '#000000',
  },
}
SCSS
$custom: #d8d557;
$custom-light: #e7e18b;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d557",
  "rgb": {
    "r": 216,
    "g": 213,
    "b": 87
  },
  "hsl": {
    "h": 58.605,
    "s": 62.319,
    "l": 59.412
  },
  "oklch": {
    "l": 0.85164,
    "c": 0.14662,
    "h": 107.9
  },
  "luminance": 0.62876
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8D557

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

Preview Lab → · Contrast checker → · Palette generator →

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