#D8D550#D8D550

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

Color values

HEX#D8D550
RGBrgb(216, 213, 80)
HSLhsl(59, 64%, 58%)
HSVhsv(59, 63%, 85%)
CMYKcmyk(0%, 1.4%, 63%, 15.3%)
CIE-LABlab(83.32, -15.11, 63.80)
CIE-LCHlch(83.32, 65.56, 103.32°)
OKLaboklab(85.1% -0.047 0.1446)
OKLCHoklch(85.1% 0.152 108)
XYZxyz(53.5629, 62.7682, 16.8818)
Luminance0.6277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D550 #5053D8
analogous
#D89150 #D8D550 #97D850
triadic
#D8D550 #50D8D5 #D550D8
tetradic
#D8D550 #50D891 #5053D8 #D85097
square
#D8D550 #50D891 #5053D8 #D85097
split-complementary
#D8D550 #5097D8 #9150D8
monochromatic
#8E8C20 #C0BD2B #D8D550 #E3E182 #EEEDB4

Accessibility & contrast

On white

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

On black

13.55
#D8D550 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D550
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D550#FFFFFF#000000##000000
##D8D5501.001.5513.5513.55
#FFFFFF1.551.0021.0021.00
#00000013.5521.001.001.00
##00000013.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD3F
Deuteranopia (green-blind)
#E8D258
Tritanopia (blue-blind)
#E7C8B9
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d8d550;
/* rgb */ color: rgb(216, 213, 80);
/* oklch */ color: oklch(85.1% 0.152 108.0);
Tailwind
colors: {
  custom: {
    50: '#e7e187',
    500: '#d8d550',
    950: '#000000',
  },
}
SCSS
$custom: #d8d550;
$custom-light: #e7e187;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d550",
  "rgb": {
    "r": 216,
    "g": 213,
    "b": 80
  },
  "hsl": {
    "h": 58.676,
    "s": 63.551,
    "l": 58.039
  },
  "oklch": {
    "l": 0.851,
    "c": 0.15208,
    "h": 108
  },
  "luminance": 0.62767
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8D550

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

Preview Lab → · Contrast checker → · Palette generator →

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