#DCC981#DCC981

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

Color values

HEX#DCC981
RGBrgb(220, 201, 129)
HSLhsl(47, 57%, 68%)
HSVhsv(47, 41%, 86%)
CMYKcmyk(0%, 8.6%, 41.4%, 13.7%)
CIE-LABlab(81.06, -3.30, 38.36)
CIE-LCHlch(81.06, 38.50, 94.92°)
OKLaboklab(83.56% -0.0083 0.0937)
OKLCHoklch(83.56% 0.094 95.1)
XYZxyz(54.3656, 58.5758, 29.2071)
Luminance0.5857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC981 #8194DC
analogous
#DC9B81 #DCC981 #C1DC81
triadic
#DCC981 #81DCC9 #C981DC
tetradic
#DCC981 #81DC9B #8194DC #DC81C1
square
#DCC981 #81DC9B #8194DC #DC81C1
split-complementary
#DCC981 #81C1DC #9B81DC
monochromatic
#B19731 #CFB451 #DCC981 #E9DEB1 #F7F2E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCC981#FFFFFF#000000##000000
##DCC9811.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)
#D7C67C
Deuteranopia (green-blind)
#DCCC84
Tritanopia (blue-blind)
#E9BFB7
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dcc981;
/* rgb */ color: rgb(220, 201, 129);
/* oklch */ color: oklch(83.6% 0.094 95.1);
Tailwind
colors: {
  custom: {
    50: '#e8d9a6',
    500: '#dcc981',
    950: '#000000',
  },
}
SCSS
$custom: #dcc981;
$custom-light: #e8d9a6;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc981",
  "rgb": {
    "r": 220,
    "g": 201,
    "b": 129
  },
  "hsl": {
    "h": 47.473,
    "s": 56.522,
    "l": 68.431
  },
  "oklch": {
    "l": 0.8356,
    "c": 0.09407,
    "h": 95.1
  },
  "luminance": 0.58574
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCC981

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

Preview Lab → · Contrast checker → · Palette generator →

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