#D5CC87#D5CC87

#D5CC87 is a very light, moderate yellow. Relative luminance 0.591; OKLCH L 83.7% C 0.089 H 101.7°. Best body text is #000000 at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#D5CC87
RGBrgb(213, 204, 135)
HSLhsl(53, 48%, 68%)
HSVhsv(53, 37%, 84%)
CMYKcmyk(0%, 4.2%, 36.6%, 16.5%)
CIE-LABlab(81.34, -6.96, 35.54)
CIE-LCHlch(81.34, 36.21, 101.08°)
OKLaboklab(83.67% -0.0182 0.0875)
OKLCHoklch(83.67% 0.089 101.7)
XYZxyz(53.4074, 59.0825, 31.5077)
Luminance0.5908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CC87 #8790D5
analogous
#D5A587 #D5CC87 #B7D587
triadic
#D5CC87 #87D5CC #CC87D5
tetradic
#D5CC87 #87D5A5 #8790D5 #D587B7
square
#D5CC87 #87D5A5 #8790D5 #D587B7
split-complementary
#D5CC87 #87B7D5 #A587D5
monochromatic
#A79B3A #C5B95A #D5CC87 #E5DFB4 #F5F3E2

Accessibility & contrast

On white

1.64
#D5CC87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.82
#D5CC87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CC87
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CC87#FFFFFF#000000##000000
##D5CC871.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C882
Deuteranopia (green-blind)
#DBCC8A
Tritanopia (blue-blind)
#E0C3BB
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d5cc87;
/* rgb */ color: rgb(213, 204, 135);
/* oklch */ color: oklch(83.7% 0.089 101.7);
Tailwind
colors: {
  custom: {
    50: '#e3dbaa',
    500: '#d5cc87',
    950: '#000000',
  },
}
SCSS
$custom: #d5cc87;
$custom-light: #e3dbaa;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cc87",
  "rgb": {
    "r": 213,
    "g": 204,
    "b": 135
  },
  "hsl": {
    "h": 53.077,
    "s": 48.148,
    "l": 68.235
  },
  "oklch": {
    "l": 0.83669,
    "c": 0.0894,
    "h": 101.7
  },
  "luminance": 0.59081
}

Semantic roles & 50–950 ramp

primary
#D5CC87
secondary
#555FAB
accent
#3BBB2A
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151510
muted
#848481

Preview Lab

Preview with #D5CC87

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

Preview Lab → · Contrast checker → · Palette generator →

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