#DCD971#DCD971

#DCD971 is a very light, vivid yellow. Relative luminance 0.660; OKLCH L 86.6% C 0.127 H 107.3°. Best body text is #000000 at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#DCD971
RGBrgb(220, 217, 113)
HSLhsl(58, 60%, 65%)
HSVhsv(58, 49%, 86%)
CMYKcmyk(0%, 1.4%, 48.6%, 13.7%)
CIE-LABlab(85.01, -13.00, 51.13)
CIE-LCHlch(85.01, 52.76, 104.26°)
OKLaboklab(86.63% -0.0377 0.1212)
OKLCHoklch(86.63% 0.127 107.3)
XYZxyz(57.3100, 66.0351, 25.3467)
Luminance0.6603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD971 #7174DC
analogous
#DCA471 #DCD971 #A9DC71
triadic
#DCD971 #71DCD9 #D971DC
tetradic
#DCD971 #71DCA4 #7174DC #DC71A9
square
#DCD971 #71DCA4 #7174DC #DC71A9
split-complementary
#DCD971 #71A9DC #A471DC
monochromatic
#A9A52A #D0CC40 #DCD971 #E8E6A2 #F4F3D3

Accessibility & contrast

On white

1.48
#DCD971 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.21
#DCD971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD971
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD971#FFFFFF#000000##000000
##DCD9711.001.4814.2114.21
#FFFFFF1.481.0021.0021.00
#00000014.2121.001.001.00
##00000014.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D268
Deuteranopia (green-blind)
#EAD676
Tritanopia (blue-blind)
#E9CEC1
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcd971;
/* rgb */ color: rgb(220, 217, 113);
/* oklch */ color: oklch(86.6% 0.127 107.3);
Tailwind
colors: {
  custom: {
    50: '#e9e49c',
    500: '#dcd971',
    950: '#000000',
  },
}
SCSS
$custom: #dcd971;
$custom-light: #e9e49c;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd971",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 113
  },
  "hsl": {
    "h": 58.318,
    "s": 60.452,
    "l": 65.294
  },
  "oklch": {
    "l": 0.8663,
    "c": 0.12693,
    "h": 107.3
  },
  "luminance": 0.66034
}

Semantic roles & 50–950 ramp

primary
#DCD971
secondary
#4648AC
accent
#22C81D
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD971

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

Preview Lab → · Contrast checker → · Palette generator →

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