#DCD986#DCD986

#DCD986 is a very light, moderate yellow. Relative luminance 0.666; OKLCH L 86.9% C 0.105 H 106.6°. Best body text is #000000 at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#DCD986
RGBrgb(220, 217, 134)
HSLhsl(58, 55%, 69%)
HSVhsv(58, 39%, 86%)
CMYKcmyk(0%, 1.4%, 39.1%, 13.7%)
CIE-LABlab(85.28, -10.93, 41.23)
CIE-LCHlch(85.28, 42.65, 104.85°)
OKLaboklab(86.93% -0.0299 0.1005)
OKLCHoklch(86.93% 0.105 106.6)
XYZxyz(58.6320, 66.5639, 32.3091)
Luminance0.6656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD986 #8689DC
analogous
#DCAE86 #DCD986 #B4DC86
triadic
#DCD986 #86DCD9 #D986DC
tetradic
#DCD986 #86DCAE #8689DC #DC86B4
square
#DCD986 #86DCAE #8689DC #DC86B4
split-complementary
#DCD986 #86B4DC #AE86DC
monochromatic
#B4AF34 #CECA57 #DCD986 #EAE8B5 #F7F7E5

Accessibility & contrast

On white

1.47
#DCD986 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.31
#DCD986 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD986
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD986#FFFFFF#000000##000000
##DCD9861.001.4714.3114.31
#FFFFFF1.471.0021.0021.00
#00000014.3121.001.001.00
##00000014.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D380
Deuteranopia (green-blind)
#E8D78A
Tritanopia (blue-blind)
#E7CFC5
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dcd986;
/* rgb */ color: rgb(220, 217, 134);
/* oklch */ color: oklch(86.9% 0.105 106.6);
Tailwind
colors: {
  custom: {
    50: '#e8e4aa',
    500: '#dcd986',
    950: '#000000',
  },
}
SCSS
$custom: #dcd986;
$custom-light: #e8e4aa;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd986",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 134
  },
  "hsl": {
    "h": 57.907,
    "s": 55.128,
    "l": 69.412
  },
  "oklch": {
    "l": 0.86931,
    "c": 0.10486,
    "h": 106.6
  },
  "luminance": 0.66563
}

Semantic roles & 50–950 ramp

primary
#DCD986
secondary
#5357B3
accent
#28C323
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD986

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

Preview Lab → · Contrast checker → · Palette generator →

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