#D7CD87#D7CD87

#D7CD87 is a very light, moderate yellow. Relative luminance 0.599; OKLCH L 84.0% C 0.091 H 101.1°. Best body text is #000000 at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#D7CD87
RGBrgb(215, 205, 135)
HSLhsl(53, 50%, 69%)
HSVhsv(53, 37%, 84%)
CMYKcmyk(0%, 4.7%, 37.2%, 15.7%)
CIE-LABlab(81.76, -6.69, 36.12)
CIE-LCHlch(81.76, 36.73, 100.49°)
OKLaboklab(84.05% -0.0175 0.0889)
OKLCHoklch(84.05% 0.091 101.1)
XYZxyz(54.2297, 59.8604, 31.6145)
Luminance0.5986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CD87 #8791D7
analogous
#D7A587 #D7CD87 #B9D787
triadic
#D7CD87 #87D7CD #CD87D7
tetradic
#D7CD87 #87D7A5 #8791D7 #D787B9
square
#D7CD87 #87D7A5 #8791D7 #D787B9
split-complementary
#D7CD87 #87B9D7 #A587D7
monochromatic
#AB9C39 #C8BA59 #D7CD87 #E6E0B5 #F6F3E3

Accessibility & contrast

On white

1.62
#D7CD87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.97
#D7CD87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CD87
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CD87#FFFFFF#000000##000000
##D7CD871.001.6212.9712.97
#FFFFFF1.621.0021.0021.00
#00000012.9721.001.001.00
##00000012.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C982
Deuteranopia (green-blind)
#DDCD8A
Tritanopia (blue-blind)
#E2C4BB
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d7cd87;
/* rgb */ color: rgb(215, 205, 135);
/* oklch */ color: oklch(84.0% 0.091 101.1);
Tailwind
colors: {
  custom: {
    50: '#e4dcab',
    500: '#d7cd87',
    950: '#000000',
  },
}
SCSS
$custom: #d7cd87;
$custom-light: #e4dcab;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cd87",
  "rgb": {
    "r": 215,
    "g": 205,
    "b": 135
  },
  "hsl": {
    "h": 52.5,
    "s": 50,
    "l": 68.627
  },
  "oklch": {
    "l": 0.84045,
    "c": 0.09057,
    "h": 101.1
  },
  "luminance": 0.59859
}

Semantic roles & 50–950 ramp

primary
#D7CD87
secondary
#5560AD
accent
#3BBD28
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#161510
muted
#848481

Preview Lab

Preview with #D7CD87

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

Preview Lab → · Contrast checker → · Palette generator →

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