#D8D552#D8D552

#D8D552 is a very light, vivid yellow. Relative luminance 0.628; OKLCH L 85.1% C 0.151 H 108.0°. Best body text is #000000 at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#D8D552
RGBrgb(216, 213, 82)
HSLhsl(59, 63%, 58%)
HSVhsv(59, 62%, 85%)
CMYKcmyk(0%, 1.4%, 62%, 15.3%)
CIE-LABlab(83.34, -14.98, 62.99)
CIE-LCHlch(83.34, 64.75, 103.38°)
OKLaboklab(85.12% -0.0464 0.1432)
OKLCHoklch(85.12% 0.151 108)
XYZxyz(53.6379, 62.7982, 17.2768)
Luminance0.6280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D552 #5255D8
analogous
#D89252 #D8D552 #98D852
triadic
#D8D552 #52D8D5 #D552D8
tetradic
#D8D552 #52D892 #5255D8 #D85298
square
#D8D552 #52D892 #5255D8 #D85298
split-complementary
#D8D552 #5298D8 #9252D8
monochromatic
#8F8D20 #C1BE2C #D8D552 #E3E184 #EFEDB6

Accessibility & contrast

On white

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

On black

13.56
#D8D552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D552
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D552#FFFFFF#000000##000000
##D8D5521.001.5513.5613.56
#FFFFFF1.551.0021.0021.00
#00000013.5621.001.001.00
##00000013.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD42
Deuteranopia (green-blind)
#E8D25A
Tritanopia (blue-blind)
#E7C8BA
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d8d552;
/* rgb */ color: rgb(216, 213, 82);
/* oklch */ color: oklch(85.1% 0.151 108.0);
Tailwind
colors: {
  custom: {
    50: '#e7e188',
    500: '#d8d552',
    950: '#000000',
  },
}
SCSS
$custom: #d8d552;
$custom-light: #e7e188;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d552",
  "rgb": {
    "r": 216,
    "g": 213,
    "b": 82
  },
  "hsl": {
    "h": 58.657,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.85118,
    "c": 0.15056,
    "h": 108
  },
  "luminance": 0.62797
}

Semantic roles & 50–950 ramp

primary
#D8D552
secondary
#393C95
accent
#45E642
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8D552

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

Preview Lab → · Contrast checker → · Palette generator →

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