#DCD985#DCD985

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

Color values

HEX#DCD985
RGBrgb(220, 217, 133)
HSLhsl(58, 55%, 69%)
HSVhsv(58, 40%, 86%)
CMYKcmyk(0%, 1.4%, 39.5%, 13.7%)
CIE-LABlab(85.27, -11.04, 41.71)
CIE-LCHlch(85.27, 43.14, 104.83°)
OKLaboklab(86.92% -0.0303 0.1015)
OKLCHoklch(86.92% 0.106 106.6)
XYZxyz(58.5626, 66.5361, 31.9435)
Luminance0.6653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD985 #8588DC
analogous
#DCAE85 #DCD985 #B4DC85
triadic
#DCD985 #85DCD9 #D985DC
tetradic
#DCD985 #85DCAE #8588DC #DC85B4
square
#DCD985 #85DCAE #8588DC #DC85B4
split-complementary
#DCD985 #85B4DC #AE85DC
monochromatic
#B3AF33 #CECA55 #DCD985 #EAE8B5 #F7F7E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD985#FFFFFF#000000##000000
##DCD9851.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)
#E6D37F
Deuteranopia (green-blind)
#E8D789
Tritanopia (blue-blind)
#E8CFC4
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dcd985;
/* rgb */ color: rgb(220, 217, 133);
/* oklch */ color: oklch(86.9% 0.106 106.6);
Tailwind
colors: {
  custom: {
    50: '#e8e4a9',
    500: '#dcd985',
    950: '#000000',
  },
}
SCSS
$custom: #dcd985;
$custom-light: #e8e4a9;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd985",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 133
  },
  "hsl": {
    "h": 57.931,
    "s": 55.414,
    "l": 69.216
  },
  "oklch": {
    "l": 0.86915,
    "c": 0.10597,
    "h": 106.6
  },
  "luminance": 0.66535
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCD985

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

Preview Lab → · Contrast checker → · Palette generator →

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