#DCD972#DCD972

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

Color values

HEX#DCD972
RGBrgb(220, 217, 114)
HSLhsl(58, 60%, 65%)
HSVhsv(58, 48%, 86%)
CMYKcmyk(0%, 1.4%, 48.2%, 13.7%)
CIE-LABlab(85.03, -12.91, 50.67)
CIE-LCHlch(85.03, 52.29, 104.29°)
OKLaboklab(86.64% -0.0374 0.1203)
OKLCHoklch(86.64% 0.126 107.3)
XYZxyz(57.3666, 66.0577, 25.6448)
Luminance0.6606 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD972 #7275DC
analogous
#DCA472 #DCD972 #AADC72
triadic
#DCD972 #72DCD9 #D972DC
tetradic
#DCD972 #72DCA4 #7275DC #DC72AA
square
#DCD972 #72DCA4 #7275DC #DC72AA
split-complementary
#DCD972 #72AADC #A472DC
monochromatic
#AAA62A #D0CC41 #DCD972 #E8E6A3 #F4F3D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD972#FFFFFF#000000##000000
##DCD9721.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)
#E8D269
Deuteranopia (green-blind)
#EAD677
Tritanopia (blue-blind)
#E9CEC1
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcd972;
/* rgb */ color: rgb(220, 217, 114);
/* oklch */ color: oklch(86.6% 0.126 107.3);
Tailwind
colors: {
  custom: {
    50: '#e9e49d',
    500: '#dcd972',
    950: '#000000',
  },
}
SCSS
$custom: #dcd972;
$custom-light: #e9e49d;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd972",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 114
  },
  "hsl": {
    "h": 58.302,
    "s": 60.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.86643,
    "c": 0.12594,
    "h": 107.3
  },
  "luminance": 0.66056
}

Semantic roles & 50–950 ramp

primary
#DCD972
secondary
#4649AC
accent
#22C81E
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD972

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

Preview Lab → · Contrast checker → · Palette generator →

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