#D7DC87#D7DC87

#D7DC87 is a very light, moderate yellow. Relative luminance 0.674; OKLCH L 87.2% C 0.108 H 111.3°. Best body text is #000000 at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#D7DC87
RGBrgb(215, 220, 135)
HSLhsl(64, 55%, 70%)
HSVhsv(64, 39%, 86%)
CMYKcmyk(2.3%, 0%, 38.6%, 13.7%)
CIE-LABlab(85.70, -14.27, 41.18)
CIE-LCHlch(85.70, 43.58, 109.12°)
OKLaboklab(87.17% -0.0392 0.1005)
OKLCHoklch(87.17% 0.108 111.3)
XYZxyz(57.9913, 67.3837, 32.8684)
Luminance0.6738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DC87 #8C87DC
analogous
#DCB687 #D7DC87 #ADDC87
triadic
#D7DC87 #87D7DC #DC87D7
tetradic
#D7DC87 #87DCB6 #8C87DC #DC87AD
square
#D7DC87 #87DCB6 #8C87DC #DC87AD
split-complementary
#D7DC87 #87ADDC #B687DC
monochromatic
#ADB435 #C7CE58 #D7DC87 #E7EAB6 #F7F8E6

Accessibility & contrast

On white

1.45
#D7DC87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.48
#D7DC87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7DC87
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7DC87#FFFFFF#000000##000000
##D7DC871.001.4514.4814.48
#FFFFFF1.451.0021.0021.00
#00000014.4821.001.001.00
##00000014.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D581
Deuteranopia (green-blind)
#E8D88B
Tritanopia (blue-blind)
#E1D3C7
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #d7dc87;
/* rgb */ color: rgb(215, 220, 135);
/* oklch */ color: oklch(87.2% 0.108 111.3);
Tailwind
colors: {
  custom: {
    50: '#e4e6ab',
    500: '#d7dc87',
    950: '#000000',
  },
}
SCSS
$custom: #d7dc87;
$custom-light: #e4e6ab;
$custom-dark: #000000;
JSON
{
  "hex": "#d7dc87",
  "rgb": {
    "r": 215,
    "g": 220,
    "b": 135
  },
  "hsl": {
    "h": 63.529,
    "s": 54.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.8717,
    "c": 0.10785,
    "h": 111.3
  },
  "luminance": 0.67383
}

Semantic roles & 50–950 ramp

primary
#D7DC87
secondary
#5A54B3
accent
#23C22D
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#161610
muted
#848481

Preview Lab

Preview with #D7DC87

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

Preview Lab → · Contrast checker → · Palette generator →

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