#D8D551#D8D551

#D8D551 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#D8D551
RGBrgb(216, 213, 81)
HSLhsl(59, 63%, 58%)
HSVhsv(59, 63%, 85%)
CMYKcmyk(0%, 1.4%, 62.5%, 15.3%)
CIE-LABlab(83.33, -15.05, 63.40)
CIE-LCHlch(83.33, 65.16, 103.35°)
OKLaboklab(85.11% -0.0467 0.1439)
OKLCHoklch(85.11% 0.151 108)
XYZxyz(53.6001, 62.7831, 17.0779)
Luminance0.6278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D551 #5154D8
analogous
#D89151 #D8D551 #97D851
triadic
#D8D551 #51D8D5 #D551D8
tetradic
#D8D551 #51D891 #5154D8 #D85197
square
#D8D551 #51D891 #5154D8 #D85197
split-complementary
#D8D551 #5197D8 #9151D8
monochromatic
#8F8C20 #C1BD2B #D8D551 #E3E183 #EEEDB5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8D551#FFFFFF#000000##000000
##D8D5511.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)
#E6CD40
Deuteranopia (green-blind)
#E8D259
Tritanopia (blue-blind)
#E7C8BA
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d8d551;
/* rgb */ color: rgb(216, 213, 81);
/* oklch */ color: oklch(85.1% 0.151 108.0);
Tailwind
colors: {
  custom: {
    50: '#e7e188',
    500: '#d8d551',
    950: '#000000',
  },
}
SCSS
$custom: #d8d551;
$custom-light: #e7e188;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d551",
  "rgb": {
    "r": 216,
    "g": 213,
    "b": 81
  },
  "hsl": {
    "h": 58.667,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.85109,
    "c": 0.15133,
    "h": 108
  },
  "luminance": 0.62782
}

Semantic roles & 50–950 ramp

primary
#D8D551
secondary
#393B94
accent
#45E641
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8D551

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

Preview Lab → · Contrast checker → · Palette generator →

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