#DCD980#DCD980

#DCD980 is a very light, moderate yellow. Relative luminance 0.664; OKLCH L 86.8% C 0.111 H 106.8°. Best body text is #000000 at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#DCD980
RGBrgb(220, 217, 128)
HSLhsl(58, 57%, 68%)
HSVhsv(58, 42%, 86%)
CMYKcmyk(0%, 1.4%, 41.8%, 13.7%)
CIE-LABlab(85.20, -11.56, 44.10)
CIE-LCHlch(85.20, 45.59, 104.69°)
OKLaboklab(86.84% -0.0322 0.1067)
OKLCHoklch(86.84% 0.111 106.8)
XYZxyz(58.2254, 66.4012, 30.1674)
Luminance0.6640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD980 #8083DC
analogous
#DCAB80 #DCD980 #B1DC80
triadic
#DCD980 #80DCD9 #D980DC
tetradic
#DCD980 #80DCAB #8083DC #DC80B1
square
#DCD980 #80DCAB #8083DC #DC80B1
split-complementary
#DCD980 #80B1DC #AB80DC
monochromatic
#B1AD31 #CFCB50 #DCD980 #E9E7B0 #F6F6E0

Accessibility & contrast

On white

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

On black

14.28
#DCD980 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD980
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD980#FFFFFF#000000##000000
##DCD9801.001.4714.2814.28
#FFFFFF1.471.0021.0021.00
#00000014.2821.001.001.00
##00000014.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D379
Deuteranopia (green-blind)
#E8D784
Tritanopia (blue-blind)
#E8CFC3
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dcd980;
/* rgb */ color: rgb(220, 217, 128);
/* oklch */ color: oklch(86.8% 0.111 106.8);
Tailwind
colors: {
  custom: {
    50: '#e8e4a6',
    500: '#dcd980',
    950: '#000000',
  },
}
SCSS
$custom: #dcd980;
$custom-light: #e8e4a6;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd980",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 128
  },
  "hsl": {
    "h": 58.043,
    "s": 56.79,
    "l": 68.235
  },
  "oklch": {
    "l": 0.86838,
    "c": 0.11143,
    "h": 106.8
  },
  "luminance": 0.664
}

Semantic roles & 50–950 ramp

primary
#DCD980
secondary
#4E51B3
accent
#26C421
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD980

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

Preview Lab → · Contrast checker → · Palette generator →

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