#DCC980#DCC980

#DCC980 is a very light, moderate yellow. Relative luminance 0.585; OKLCH L 83.5% C 0.095 H 95.3°. Best body text is #000000 at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#DCC980
RGBrgb(220, 201, 128)
HSLhsl(48, 57%, 68%)
HSVhsv(48, 42%, 86%)
CMYKcmyk(0%, 8.6%, 41.8%, 13.7%)
CIE-LABlab(81.04, -3.41, 38.85)
CIE-LCHlch(81.04, 38.99, 95.02°)
OKLaboklab(83.54% -0.0087 0.0948)
OKLCHoklch(83.54% 0.095 95.3)
XYZxyz(54.2994, 58.5493, 28.8588)
Luminance0.5855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC980 #8093DC
analogous
#DC9B80 #DCC980 #C1DC80
triadic
#DCC980 #80DCC9 #C980DC
tetradic
#DCC980 #80DC9B #8093DC #DC80C1
square
#DCC980 #80DC9B #8093DC #DC80C1
split-complementary
#DCC980 #80C1DC #9B80DC
monochromatic
#B19631 #CFB550 #DCC980 #E9DDB0 #F6F2E0

Accessibility & contrast

On white

1.65
#DCC980 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.71
#DCC980 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC980
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC980#FFFFFF#000000##000000
##DCC9801.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C67A
Deuteranopia (green-blind)
#DCCC83
Tritanopia (blue-blind)
#E9BFB7
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dcc980;
/* rgb */ color: rgb(220, 201, 128);
/* oklch */ color: oklch(83.5% 0.095 95.3);
Tailwind
colors: {
  custom: {
    50: '#e8d9a6',
    500: '#dcc980',
    950: '#000000',
  },
}
SCSS
$custom: #dcc980;
$custom-light: #e8d9a6;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc980",
  "rgb": {
    "r": 220,
    "g": 201,
    "b": 128
  },
  "hsl": {
    "h": 47.609,
    "s": 56.79,
    "l": 68.235
  },
  "oklch": {
    "l": 0.83544,
    "c": 0.09517,
    "h": 95.3
  },
  "luminance": 0.58547
}

Semantic roles & 50–950 ramp

primary
#DCC980
secondary
#4E62B3
accent
#43C421
background
#FEFEFC
surface
#FDFBF6
border
#D5D4D0
text
#16140F
muted
#848380

Preview Lab

Preview with #DCC980

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

Preview Lab → · Contrast checker → · Palette generator →

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