#DCD979#DCD979

#DCD979 is a very light, moderate yellow. Relative luminance 0.662; OKLCH L 86.7% C 0.119 H 107.1°. Best body text is #000000 at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#DCD979
RGBrgb(220, 217, 121)
HSLhsl(58, 59%, 67%)
HSVhsv(58, 45%, 86%)
CMYKcmyk(0%, 1.4%, 45%, 13.7%)
CIE-LABlab(85.11, -12.26, 47.41)
CIE-LCHlch(85.11, 48.97, 104.50°)
OKLaboklab(86.74% -0.0348 0.1136)
OKLCHoklch(86.74% 0.119 107.1)
XYZxyz(57.7804, 66.2233, 27.8241)
Luminance0.6622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD979 #797CDC
analogous
#DCA879 #DCD979 #AEDC79
triadic
#DCD979 #79DCD9 #D979DC
tetradic
#DCD979 #79DCA8 #797CDC #DC79AE
square
#DCD979 #79DCA8 #797CDC #DC79AE
split-complementary
#DCD979 #79AEDC #A879DC
monochromatic
#ADA92D #CFCB48 #DCD979 #E9E7AA #F5F5DA

Accessibility & contrast

On white

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

On black

14.24
#DCD979 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD979
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD979#FFFFFF#000000##000000
##DCD9791.001.4714.2414.24
#FFFFFF1.471.0021.0021.00
#00000014.2421.001.001.00
##00000014.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D271
Deuteranopia (green-blind)
#E9D77D
Tritanopia (blue-blind)
#E9CEC2
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #dcd979;
/* rgb */ color: rgb(220, 217, 121);
/* oklch */ color: oklch(86.7% 0.119 107.1);
Tailwind
colors: {
  custom: {
    50: '#e8e4a1',
    500: '#dcd979',
    950: '#000000',
  },
}
SCSS
$custom: #dcd979;
$custom-light: #e8e4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd979",
  "rgb": {
    "r": 220,
    "g": 217,
    "b": 121
  },
  "hsl": {
    "h": 58.182,
    "s": 58.58,
    "l": 66.863
  },
  "oklch": {
    "l": 0.86737,
    "c": 0.11883,
    "h": 107.1
  },
  "luminance": 0.66222
}

Semantic roles & 50–950 ramp

primary
#DCD979
secondary
#4A4DB0
accent
#24C61F
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD979

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

Preview Lab → · Contrast checker → · Palette generator →

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