#D9CD87#D9CD87

#D9CD87 is a very light, moderate yellow. Relative luminance 0.602; OKLCH L 84.2% C 0.091 H 99.7°. Best body text is #000000 at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#D9CD87
RGBrgb(217, 205, 135)
HSLhsl(51, 52%, 69%)
HSVhsv(51, 38%, 85%)
CMYKcmyk(0%, 5.5%, 37.8%, 14.9%)
CIE-LABlab(81.93, -5.90, 36.37)
CIE-LCHlch(81.93, 36.84, 99.21°)
OKLaboklab(84.22% -0.0153 0.0894)
OKLCHoklch(84.22% 0.091 99.7)
XYZxyz(54.8207, 60.1652, 31.6422)
Luminance0.6016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CD87 #8793D9
analogous
#D9A487 #D9CD87 #BCD987
triadic
#D9CD87 #87D9CD #CD87D9
tetradic
#D9CD87 #87D9A4 #8793D9 #D987BC
square
#D9CD87 #87D9A4 #8793D9 #D987BC
split-complementary
#D9CD87 #87BCD9 #A487D9
monochromatic
#AE9D37 #CABA59 #D9CD87 #E8E0B5 #F6F4E4

Accessibility & contrast

On white

1.61
#D9CD87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.03
#D9CD87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CD87
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CD87#FFFFFF#000000##000000
##D9CD871.001.6113.0313.03
#FFFFFF1.611.0021.0021.00
#00000013.0321.001.001.00
##00000013.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC982
Deuteranopia (green-blind)
#DDCE8A
Tritanopia (blue-blind)
#E5C4BB
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d9cd87;
/* rgb */ color: rgb(217, 205, 135);
/* oklch */ color: oklch(84.2% 0.091 99.7);
Tailwind
colors: {
  custom: {
    50: '#e6dcab',
    500: '#d9cd87',
    950: '#000000',
  },
}
SCSS
$custom: #d9cd87;
$custom-light: #e6dcab;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cd87",
  "rgb": {
    "r": 217,
    "g": 205,
    "b": 135
  },
  "hsl": {
    "h": 51.22,
    "s": 51.899,
    "l": 69.02
  },
  "oklch": {
    "l": 0.84216,
    "c": 0.09071,
    "h": 99.7
  },
  "luminance": 0.60164
}

Semantic roles & 50–950 ramp

primary
#D9CD87
secondary
#5562AF
accent
#3DBF26
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#161510
muted
#848481

Preview Lab

Preview with #D9CD87

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

Preview Lab → · Contrast checker → · Palette generator →

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