#DCD187#DCD187

#DCD187 is a very light, moderate yellow. Relative luminance 0.626; OKLCH L 85.3% C 0.095 H 100.9°. Best body text is #000000 at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#DCD187
RGBrgb(220, 209, 135)
HSLhsl(52, 55%, 70%)
HSVhsv(52, 39%, 86%)
CMYKcmyk(0%, 5%, 38.6%, 13.7%)
CIE-LABlab(83.21, -6.77, 38.08)
CIE-LCHlch(83.21, 38.67, 100.08°)
OKLaboklab(85.3% -0.0179 0.0933)
OKLCHoklch(85.3% 0.095 100.9)
XYZxyz(56.6898, 62.5674, 32.0074)
Luminance0.6257 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD187 #8792DC
analogous
#DCA687 #DCD187 #BDDC87
triadic
#DCD187 #87DCD1 #D187DC
tetradic
#DCD187 #87DCA6 #8792DC #DC87BD
square
#DCD187 #87DCA6 #8792DC #DC87BD
split-complementary
#DCD187 #87BDDC #A687DC
monochromatic
#B4A435 #CEBF58 #DCD187 #EAE3B6 #F8F5E6

Accessibility & contrast

On white

1.55
#DCD187 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.51
#DCD187 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD187
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD187#FFFFFF#000000##000000
##DCD1871.001.5513.5113.51
#FFFFFF1.551.0021.0021.00
#00000013.5121.001.001.00
##00000013.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECD82
Deuteranopia (green-blind)
#E1D18A
Tritanopia (blue-blind)
#E8C7BE
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dcd187;
/* rgb */ color: rgb(220, 209, 135);
/* oklch */ color: oklch(85.3% 0.095 100.9);
Tailwind
colors: {
  custom: {
    50: '#e8dfab',
    500: '#dcd187',
    950: '#000000',
  },
}
SCSS
$custom: #dcd187;
$custom-light: #e8dfab;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd187",
  "rgb": {
    "r": 220,
    "g": 209,
    "b": 135
  },
  "hsl": {
    "h": 52.235,
    "s": 54.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.85295,
    "c": 0.09504,
    "h": 100.9
  },
  "luminance": 0.62566
}

Semantic roles & 50–950 ramp

primary
#DCD187
secondary
#5460B3
accent
#38C223
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD187

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

Preview Lab → · Contrast checker → · Palette generator →

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