#D8DD87#D8DD87

#D8DD87 is a very light, moderate yellow. Relative luminance 0.681; OKLCH L 87.5% C 0.109 H 111.3°. Best body text is #000000 at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#D8DD87
RGBrgb(216, 221, 135)
HSLhsl(63, 56%, 70%)
HSVhsv(63, 39%, 87%)
CMYKcmyk(2.3%, 0%, 38.9%, 13.3%)
CIE-LABlab(86.04, -14.38, 41.62)
CIE-LCHlch(86.04, 44.04, 109.06°)
OKLaboklab(87.46% -0.0396 0.1015)
OKLCHoklch(87.46% 0.109 111.3)
XYZxyz(58.5492, 68.0620, 32.9699)
Luminance0.6806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DD87 #8C87DD
analogous
#DDB787 #D8DD87 #ADDD87
triadic
#D8DD87 #87D8DD #DD87D8
tetradic
#D8DD87 #87DDB7 #8C87DD #DD87AD
square
#D8DD87 #87DDB7 #8C87DD #DD87AD
split-complementary
#D8DD87 #87ADDD #B787DD
monochromatic
#AEB634 #C9CF57 #D8DD87 #E7EBB7 #F7F8E6

Accessibility & contrast

On white

1.44
#D8DD87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.61
#D8DD87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DD87
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DD87#FFFFFF#000000##000000
##D8DD871.001.4414.6114.61
#FFFFFF1.441.0021.0021.00
#00000014.6121.001.001.00
##00000014.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D680
Deuteranopia (green-blind)
#EAD88B
Tritanopia (blue-blind)
#E2D4C8
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #d8dd87;
/* rgb */ color: rgb(216, 221, 135);
/* oklch */ color: oklch(87.5% 0.109 111.3);
Tailwind
colors: {
  custom: {
    50: '#e5e7ab',
    500: '#d8dd87',
    950: '#000000',
  },
}
SCSS
$custom: #d8dd87;
$custom-light: #e5e7ab;
$custom-dark: #000000;
JSON
{
  "hex": "#d8dd87",
  "rgb": {
    "r": 216,
    "g": 221,
    "b": 135
  },
  "hsl": {
    "h": 63.488,
    "s": 55.844,
    "l": 69.804
  },
  "oklch": {
    "l": 0.87459,
    "c": 0.10892,
    "h": 111.3
  },
  "luminance": 0.68061
}

Semantic roles & 50–950 ramp

primary
#D8DD87
secondary
#5A54B4
accent
#22C32C
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#161610
muted
#848481

Preview Lab

Preview with #D8DD87

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

Preview Lab → · Contrast checker → · Palette generator →

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