#DCD984#DCD984

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

Color values

HEX#DCD984
RGBrgb(220, 217, 132)
HSLhsl(58, 56%, 69%)
HSVhsv(58, 40%, 86%)
CMYKcmyk(0%, 1.4%, 40%, 13.7%)
CIE-LABlab(85.26, -11.15, 42.19)
CIE-LCHlch(85.26, 43.64, 104.80°)
OKLaboklab(86.9% -0.0307 0.1026)
OKLCHoklch(86.9% 0.107 106.7)
XYZxyz(58.4938, 66.5086, 31.5814)
Luminance0.6651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD984 #8487DC
analogous
#DCAD84 #DCD984 #B3DC84
triadic
#DCD984 #84DCD9 #D984DC
tetradic
#DCD984 #84DCAD #8487DC #DC84B3
square
#DCD984 #84DCAD #8487DC #DC84B3
split-complementary
#DCD984 #84B3DC #AD84DC
monochromatic
#B3AE33 #CECA54 #DCD984 #EAE8B4 #F7F6E3

Accessibility & contrast

On white

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

On black

14.30
#DCD984 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD984
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD984#FFFFFF#000000##000000
##DCD9841.001.4714.3014.30
#FFFFFF1.471.0021.0021.00
#00000014.3021.001.001.00
##00000014.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D37D
Deuteranopia (green-blind)
#E8D788
Tritanopia (blue-blind)
#E8CFC4
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dcd984;
/* rgb */ color: rgb(220, 217, 132);
/* oklch */ color: oklch(86.9% 0.107 106.7);
Tailwind
colors: {
  custom: {
    50: '#e8e4a9',
    500: '#dcd984',
    950: '#000000',
  },
}
SCSS
$custom: #dcd984;
$custom-light: #e8e4a9;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd984",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 132
  },
  "hsl": {
    "h": 57.955,
    "s": 55.696,
    "l": 69.02
  },
  "oklch": {
    "l": 0.86899,
    "c": 0.10707,
    "h": 106.7
  },
  "luminance": 0.66507
}

Semantic roles & 50–950 ramp

primary
#DCD984
secondary
#5155B3
accent
#28C322
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD984

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

Preview Lab → · Contrast checker → · Palette generator →

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