#D5CD87#D5CD87

#D5CD87 is a very light, moderate yellow. Relative luminance 0.596; OKLCH L 83.9% C 0.090 H 102.5°. Best body text is #000000 at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#D5CD87
RGBrgb(213, 205, 135)
HSLhsl(54, 48%, 68%)
HSVhsv(54, 37%, 84%)
CMYKcmyk(0%, 3.8%, 36.6%, 16.5%)
CIE-LABlab(81.60, -7.47, 35.88)
CIE-LCHlch(81.60, 36.65, 101.77°)
OKLaboklab(83.88% -0.0196 0.0883)
OKLCHoklch(83.88% 0.09 102.5)
XYZxyz(53.6458, 59.5594, 31.5871)
Luminance0.5956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CD87 #878FD5
analogous
#D5A687 #D5CD87 #B6D587
triadic
#D5CD87 #87D5CD #CD87D5
tetradic
#D5CD87 #87D5A6 #878FD5 #D587B6
square
#D5CD87 #87D5A6 #878FD5 #D587B6
split-complementary
#D5CD87 #87B6D5 #A687D5
monochromatic
#A79C3A #C5BA5A #D5CD87 #E5E0B4 #F5F3E2

Accessibility & contrast

On white

1.63
#D5CD87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.91
#D5CD87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CD87
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CD87#FFFFFF#000000##000000
##D5CD871.001.6312.9112.91
#FFFFFF1.631.0021.0021.00
#00000012.9121.001.001.00
##00000012.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C882
Deuteranopia (green-blind)
#DCCD8A
Tritanopia (blue-blind)
#E0C4BB
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d5cd87;
/* rgb */ color: rgb(213, 205, 135);
/* oklch */ color: oklch(83.9% 0.090 102.5);
Tailwind
colors: {
  custom: {
    50: '#e3dcab',
    500: '#d5cd87',
    950: '#000000',
  },
}
SCSS
$custom: #d5cd87;
$custom-light: #e3dcab;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cd87",
  "rgb": {
    "r": 213,
    "g": 205,
    "b": 135
  },
  "hsl": {
    "h": 53.846,
    "s": 48.148,
    "l": 68.235
  },
  "oklch": {
    "l": 0.83876,
    "c": 0.09048,
    "h": 102.5
  },
  "luminance": 0.59558
}

Semantic roles & 50–950 ramp

primary
#D5CD87
secondary
#555EAB
accent
#39BB2A
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #D5CD87

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

Preview Lab → · Contrast checker → · Palette generator →

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