#D8CD87#D8CD87

#D8CD87 is a very light, moderate yellow. Relative luminance 0.600; OKLCH L 84.1% C 0.091 H 100.4°. Best body text is #000000 at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#D8CD87
RGBrgb(216, 205, 135)
HSLhsl(52, 51%, 69%)
HSVhsv(52, 38%, 85%)
CMYKcmyk(0%, 5.1%, 37.5%, 15.3%)
CIE-LABlab(81.84, -6.29, 36.24)
CIE-LCHlch(81.84, 36.79, 99.85°)
OKLaboklab(84.13% -0.0164 0.0891)
OKLCHoklch(84.13% 0.091 100.4)
XYZxyz(54.5243, 60.0123, 31.6283)
Luminance0.6001 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CD87 #8792D8
analogous
#D8A587 #D8CD87 #BBD887
triadic
#D8CD87 #87D8CD #CD87D8
tetradic
#D8CD87 #87D8A5 #8792D8 #D887BB
square
#D8CD87 #87D8A5 #8792D8 #D887BB
split-complementary
#D8CD87 #87BBD8 #A587D8
monochromatic
#AD9D38 #C9BA59 #D8CD87 #E7E0B5 #F6F3E3

Accessibility & contrast

On white

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

On black

13.00
#D8CD87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CD87
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CD87#FFFFFF#000000##000000
##D8CD871.001.6213.0013.00
#FFFFFF1.621.0021.0021.00
#00000013.0021.001.001.00
##00000013.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8cd87;
/* rgb */ color: rgb(216, 205, 135);
/* oklch */ color: oklch(84.1% 0.091 100.4);
Tailwind
colors: {
  custom: {
    50: '#e5dcab',
    500: '#d8cd87',
    950: '#000000',
  },
}
SCSS
$custom: #d8cd87;
$custom-light: #e5dcab;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cd87",
  "rgb": {
    "r": 216,
    "g": 205,
    "b": 135
  },
  "hsl": {
    "h": 51.852,
    "s": 50.943,
    "l": 68.824
  },
  "oklch": {
    "l": 0.84131,
    "c": 0.09064,
    "h": 100.4
  },
  "luminance": 0.60011
}

Semantic roles & 50–950 ramp

primary
#D8CD87
secondary
#5561AE
accent
#3CBE27
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#161510
muted
#848481

Preview Lab

Preview with #D8CD87

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

Preview Lab → · Contrast checker → · Palette generator →

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