#DCD587#DCD587

#DCD587 is a very light, moderate yellow. Relative luminance 0.646; OKLCH L 86.1% C 0.099 H 103.8°. Best body text is #000000 at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#DCD587
RGBrgb(220, 213, 135)
HSLhsl(55, 55%, 70%)
HSVhsv(55, 39%, 86%)
CMYKcmyk(0%, 3.2%, 38.6%, 13.7%)
CIE-LABlab(84.25, -8.80, 39.41)
CIE-LCHlch(84.25, 40.38, 102.59°)
OKLaboklab(86.12% -0.0238 0.0964)
OKLCHoklch(86.12% 0.099 103.8)
XYZxyz(57.6836, 64.5548, 32.3387)
Luminance0.6455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD587 #878EDC
analogous
#DCAB87 #DCD587 #B9DC87
triadic
#DCD587 #87DCD5 #D587DC
tetradic
#DCD587 #87DCAB #878EDC #DC87B9
square
#DCD587 #87DCAB #878EDC #DC87B9
split-complementary
#DCD587 #87B9DC #AB87DC
monochromatic
#B4AA35 #CEC458 #DCD587 #EAE6B6 #F8F6E6

Accessibility & contrast

On white

1.51
#DCD587 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.91
#DCD587 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD587
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD587#FFFFFF#000000##000000
##DCD5871.001.5113.9113.91
#FFFFFF1.511.0021.0021.00
#00000013.9121.001.001.00
##00000013.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2D081
Deuteranopia (green-blind)
#E5D48A
Tritanopia (blue-blind)
#E8CBC2
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dcd587;
/* rgb */ color: rgb(220, 213, 135);
/* oklch */ color: oklch(86.1% 0.099 103.8);
Tailwind
colors: {
  custom: {
    50: '#e8e1ab',
    500: '#dcd587',
    950: '#000000',
  },
}
SCSS
$custom: #dcd587;
$custom-light: #e8e1ab;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd587",
  "rgb": {
    "r": 220,
    "g": 213,
    "b": 135
  },
  "hsl": {
    "h": 55.059,
    "s": 54.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.86118,
    "c": 0.09928,
    "h": 103.8
  },
  "luminance": 0.64553
}

Semantic roles & 50–950 ramp

primary
#DCD587
secondary
#545CB3
accent
#30C223
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD587

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

Preview Lab → · Contrast checker → · Palette generator →

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