#DCD983#DCD983

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

Color values

HEX#DCD983
RGBrgb(220, 217, 131)
HSLhsl(58, 56%, 69%)
HSVhsv(58, 40%, 86%)
CMYKcmyk(0%, 1.4%, 40.5%, 13.7%)
CIE-LABlab(85.24, -11.25, 42.67)
CIE-LCHlch(85.24, 44.13, 104.77°)
OKLaboklab(86.88% -0.0311 0.1036)
OKLCHoklch(86.88% 0.108 106.7)
XYZxyz(58.4257, 66.4814, 31.2228)
Luminance0.6648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD983 #8386DC
analogous
#DCAD83 #DCD983 #B3DC83
triadic
#DCD983 #83DCD9 #D983DC
tetradic
#DCD983 #83DCAD #8386DC #DC83B3
square
#DCD983 #83DCAD #8386DC #DC83B3
split-complementary
#DCD983 #83B3DC #AD83DC
monochromatic
#B2AE32 #CFCA53 #DCD983 #E9E8B3 #F7F6E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD983#FFFFFF#000000##000000
##DCD9831.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)
#E6D37C
Deuteranopia (green-blind)
#E8D787
Tritanopia (blue-blind)
#E8CFC4
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dcd983;
/* rgb */ color: rgb(220, 217, 131);
/* oklch */ color: oklch(86.9% 0.108 106.7);
Tailwind
colors: {
  custom: {
    50: '#e8e4a8',
    500: '#dcd983',
    950: '#000000',
  },
}
SCSS
$custom: #dcd983;
$custom-light: #e8e4a8;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd983",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 131
  },
  "hsl": {
    "h": 57.978,
    "s": 55.975,
    "l": 68.824
  },
  "oklch": {
    "l": 0.86884,
    "c": 0.10817,
    "h": 106.7
  },
  "luminance": 0.6648
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCD983

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

Preview Lab → · Contrast checker → · Palette generator →

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