#DCD982#DCD982

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

Color values

HEX#DCD982
RGBrgb(220, 217, 130)
HSLhsl(58, 56%, 69%)
HSVhsv(58, 41%, 86%)
CMYKcmyk(0%, 1.4%, 40.9%, 13.7%)
CIE-LABlab(85.23, -11.36, 43.15)
CIE-LCHlch(85.23, 44.62, 104.75°)
OKLaboklab(86.87% -0.0315 0.1046)
OKLCHoklch(86.87% 0.109 106.7)
XYZxyz(58.3583, 66.4544, 30.8676)
Luminance0.6645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD982 #8285DC
analogous
#DCAC82 #DCD982 #B2DC82
triadic
#DCD982 #82DCD9 #D982DC
tetradic
#DCD982 #82DCAC #8285DC #DC82B2
square
#DCD982 #82DCAC #8285DC #DC82B2
split-complementary
#DCD982 #82B2DC #AC82DC
monochromatic
#B2AE32 #CFCA52 #DCD982 #E9E8B2 #F7F6E2

Accessibility & contrast

On white

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

On black

14.29
#DCD982 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD982
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD982#FFFFFF#000000##000000
##DCD9821.001.4714.2914.29
#FFFFFF1.471.0021.0021.00
#00000014.2921.001.001.00
##00000014.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd982;
/* rgb */ color: rgb(220, 217, 130);
/* oklch */ color: oklch(86.9% 0.109 106.7);
Tailwind
colors: {
  custom: {
    50: '#e8e4a7',
    500: '#dcd982',
    950: '#000000',
  },
}
SCSS
$custom: #dcd982;
$custom-light: #e8e4a7;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd982",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 130
  },
  "hsl": {
    "h": 58,
    "s": 56.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.86868,
    "c": 0.10926,
    "h": 106.7
  },
  "luminance": 0.66453
}

Semantic roles & 50–950 ramp

primary
#DCD982
secondary
#5053B3
accent
#27C422
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#161510
muted
#848480

Preview Lab

Preview with #DCD982

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

Preview Lab → · Contrast checker → · Palette generator →

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