#DCC982#DCC982

#DCC982 is a very light, moderate yellow. Relative luminance 0.586; OKLCH L 83.6% C 0.093 H 94.9°. Best body text is #000000 at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#DCC982
RGBrgb(220, 201, 130)
HSLhsl(47, 56%, 69%)
HSVhsv(47, 41%, 86%)
CMYKcmyk(0%, 8.6%, 40.9%, 13.7%)
CIE-LABlab(81.07, -3.20, 37.87)
CIE-LCHlch(81.07, 38.00, 94.83°)
OKLaboklab(83.58% -0.008 0.0926)
OKLCHoklch(83.58% 0.093 94.9)
XYZxyz(54.4324, 58.6025, 29.5589)
Luminance0.5860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC982 #8295DC
analogous
#DC9C82 #DCC982 #C2DC82
triadic
#DCC982 #82DCC9 #C982DC
tetradic
#DCC982 #82DC9C #8295DC #DC82C2
square
#DCC982 #82DC9C #8295DC #DC82C2
split-complementary
#DCC982 #82C2DC #9C82DC
monochromatic
#B29732 #CFB452 #DCC982 #E9DEB2 #F7F2E2

Accessibility & contrast

On white

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

On black

12.72
#DCC982 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC982
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC982#FFFFFF#000000##000000
##DCC9821.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcc982;
/* rgb */ color: rgb(220, 201, 130);
/* oklch */ color: oklch(83.6% 0.093 94.9);
Tailwind
colors: {
  custom: {
    50: '#e8d9a7',
    500: '#dcc982',
    950: '#000000',
  },
}
SCSS
$custom: #dcc982;
$custom-light: #e8d9a7;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc982",
  "rgb": {
    "r": 220,
    "g": 201,
    "b": 130
  },
  "hsl": {
    "h": 47.333,
    "s": 56.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.83576,
    "c": 0.09297,
    "h": 94.9
  },
  "luminance": 0.58601
}

Semantic roles & 50–950 ramp

primary
#DCC982
secondary
#5064B3
accent
#44C422
background
#FEFEFC
surface
#FDFBF6
border
#D5D4D0
text
#16140F
muted
#848380

Preview Lab

Preview with #DCC982

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

Preview Lab → · Contrast checker → · Palette generator →

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