#DCD887#DCD887

#DCD887 is a very light, moderate yellow. Relative luminance 0.661; OKLCH L 86.7% C 0.103 H 105.9°. Best body text is #000000 at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#DCD887
RGBrgb(220, 216, 135)
HSLhsl(57, 55%, 70%)
HSVhsv(57, 39%, 86%)
CMYKcmyk(0%, 1.8%, 38.6%, 13.7%)
CIE-LABlab(85.04, -10.32, 40.41)
CIE-LCHlch(85.04, 41.71, 104.33°)
OKLaboklab(86.74% -0.0281 0.0987)
OKLCHoklch(86.74% 0.103 105.9)
XYZxyz(58.4451, 66.0780, 32.5925)
Luminance0.6608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD887 #878BDC
analogous
#DCAD87 #DCD887 #B6DC87
triadic
#DCD887 #87DCD8 #D887DC
tetradic
#DCD887 #87DCAD #878BDC #DC87B6
square
#DCD887 #87DCAD #878BDC #DC87B6
split-complementary
#DCD887 #87B6DC #AD87DC
monochromatic
#B4AE35 #CEC958 #DCD887 #EAE7B6 #F8F7E6

Accessibility & contrast

On white

1.48
#DCD887 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.22
#DCD887 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD887
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD887#FFFFFF#000000##000000
##DCD8871.001.4814.2214.22
#FFFFFF1.481.0021.0021.00
#00000014.2221.001.001.00
##00000014.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D281
Deuteranopia (green-blind)
#E7D68A
Tritanopia (blue-blind)
#E7CEC4
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcd887;
/* rgb */ color: rgb(220, 216, 135);
/* oklch */ color: oklch(86.7% 0.103 105.9);
Tailwind
colors: {
  custom: {
    50: '#e8e3ab',
    500: '#dcd887',
    950: '#000000',
  },
}
SCSS
$custom: #dcd887;
$custom-light: #e8e3ab;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd887",
  "rgb": {
    "r": 220,
    "g": 216,
    "b": 135
  },
  "hsl": {
    "h": 57.176,
    "s": 54.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.86739,
    "c": 0.10261,
    "h": 105.9
  },
  "luminance": 0.66077
}

Semantic roles & 50–950 ramp

primary
#DCD887
secondary
#5459B3
accent
#2BC223
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD887

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

Preview Lab → · Contrast checker → · Palette generator →

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