#DCC971#DCC971

#DCC971 is a very light, moderate yellow. Relative luminance 0.582; OKLCH L 83.3% C 0.111 H 97.5°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#DCC971
RGBrgb(220, 201, 113)
HSLhsl(49, 60%, 65%)
HSVhsv(49, 49%, 86%)
CMYKcmyk(0%, 8.6%, 48.6%, 13.7%)
CIE-LABlab(80.84, -4.88, 46.09)
CIE-LCHlch(80.84, 46.35, 96.05°)
OKLaboklab(83.32% -0.0144 0.1101)
OKLCHoklch(83.32% 0.111 97.5)
XYZxyz(53.3841, 58.1832, 24.0380)
Luminance0.5818 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC971 #7184DC
analogous
#DC9371 #DCC971 #B9DC71
triadic
#DCC971 #71DCC9 #C971DC
tetradic
#DCC971 #71DC93 #7184DC #DC71B9
square
#DCC971 #71DC93 #7184DC #DC71B9
split-complementary
#DCC971 #71B9DC #9371DC
monochromatic
#A9922A #D0B640 #DCC971 #E8DCA2 #F4EED3

Accessibility & contrast

On white

1.66
#DCC971 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.64
#DCC971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC971
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC971#FFFFFF#000000##000000
##DCC9711.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C56A
Deuteranopia (green-blind)
#DECC75
Tritanopia (blue-blind)
#EABEB4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dcc971;
/* rgb */ color: rgb(220, 201, 113);
/* oklch */ color: oklch(83.3% 0.111 97.5);
Tailwind
colors: {
  custom: {
    50: '#e9d99b',
    500: '#dcc971',
    950: '#000000',
  },
}
SCSS
$custom: #dcc971;
$custom-light: #e9d99b;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc971",
  "rgb": {
    "r": 220,
    "g": 201,
    "b": 113
  },
  "hsl": {
    "h": 49.346,
    "s": 60.452,
    "l": 65.294
  },
  "oklch": {
    "l": 0.83317,
    "c": 0.11103,
    "h": 97.5
  },
  "luminance": 0.58181
}

Semantic roles & 50–950 ramp

primary
#DCC971
secondary
#4658AC
accent
#3CC81D
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DCC971

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

Preview Lab → · Contrast checker → · Palette generator →

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