#DCC987#DCC987

#DCC987 is a very light, moderate yellow. Relative luminance 0.587; OKLCH L 83.7% C 0.087 H 93.9°. Best body text is #000000 at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#DCC987
RGBrgb(220, 201, 135)
HSLhsl(47, 55%, 70%)
HSVhsv(47, 39%, 86%)
CMYKcmyk(0%, 8.6%, 38.6%, 13.7%)
CIE-LABlab(81.15, -2.65, 35.40)
CIE-LCHlch(81.15, 35.50, 94.29°)
OKLaboklab(83.66% -0.006 0.0872)
OKLCHoklch(83.66% 0.087 93.9)
XYZxyz(54.7761, 58.7400, 31.3695)
Luminance0.5874 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC987 #879ADC
analogous
#DC9F87 #DCC987 #C5DC87
triadic
#DCC987 #87DCC9 #C987DC
tetradic
#DCC987 #87DC9F #879ADC #DC87C5
square
#DCC987 #87DC9F #879ADC #DC87C5
split-complementary
#DCC987 #87C5DC #9F87DC
monochromatic
#B49835 #CEB458 #DCC987 #EADEB6 #F8F4E6

Accessibility & contrast

On white

1.65
#DCC987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.75
#DCC987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC987
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC987#FFFFFF#000000##000000
##DCC9871.001.6512.7512.75
#FFFFFF1.651.0021.0021.00
#00000012.7521.001.001.00
##00000012.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C682
Deuteranopia (green-blind)
#DBCC89
Tritanopia (blue-blind)
#E8BFB8
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #dcc987;
/* rgb */ color: rgb(220, 201, 135);
/* oklch */ color: oklch(83.7% 0.087 93.9);
Tailwind
colors: {
  custom: {
    50: '#e8d9aa',
    500: '#dcc987',
    950: '#000000',
  },
}
SCSS
$custom: #dcc987;
$custom-light: #e8d9aa;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc987",
  "rgb": {
    "r": 220,
    "g": 201,
    "b": 135
  },
  "hsl": {
    "h": 46.588,
    "s": 54.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.83661,
    "c": 0.08739,
    "h": 93.9
  },
  "luminance": 0.58738
}

Semantic roles & 50–950 ramp

primary
#DCC987
secondary
#5469B3
accent
#47C223
background
#FEFEFD
surface
#FDFBF7
border
#D5D4D0
text
#161410
muted
#848381

Preview Lab

Preview with #DCC987

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

Preview Lab → · Contrast checker → · Palette generator →

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