#DCD579#DCD579

#DCD579 is a very light, moderate yellow. Relative luminance 0.642; OKLCH L 85.9% C 0.115 H 104.7°. Best body text is #000000 at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#DCD579
RGBrgb(220, 213, 121)
HSLhsl(56, 59%, 67%)
HSVhsv(56, 45%, 86%)
CMYKcmyk(0%, 3.2%, 45%, 13.7%)
CIE-LABlab(84.06, -10.25, 46.12)
CIE-LCHlch(84.06, 47.25, 102.52°)
OKLaboklab(85.91% -0.0291 0.1108)
OKLCHoklch(85.91% 0.115 104.7)
XYZxyz(56.7619, 64.1862, 27.4846)
Luminance0.6419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD579 #7980DC
analogous
#DCA479 #DCD579 #B1DC79
triadic
#DCD579 #79DCD5 #D579DC
tetradic
#DCD579 #79DCA4 #7980DC #DC79B1
square
#DCD579 #79DCA4 #7980DC #DC79B1
split-complementary
#DCD579 #79B1DC #A479DC
monochromatic
#ADA42D #CFC648 #DCD579 #E9E4AA #F5F3DA

Accessibility & contrast

On white

1.52
#DCD579 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.84
#DCD579 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD579
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD579#FFFFFF#000000##000000
##DCD5791.001.5213.8413.84
#FFFFFF1.521.0021.0021.00
#00000013.8421.001.001.00
##00000013.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CF71
Deuteranopia (green-blind)
#E6D47D
Tritanopia (blue-blind)
#E9CABF
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dcd579;
/* rgb */ color: rgb(220, 213, 121);
/* oklch */ color: oklch(85.9% 0.115 104.7);
Tailwind
colors: {
  custom: {
    50: '#e8e1a1',
    500: '#dcd579',
    950: '#000000',
  },
}
SCSS
$custom: #dcd579;
$custom-light: #e8e1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd579",
  "rgb": {
    "r": 220,
    "g": 213,
    "b": 121
  },
  "hsl": {
    "h": 55.758,
    "s": 58.58,
    "l": 66.863
  },
  "oklch": {
    "l": 0.85905,
    "c": 0.1145,
    "h": 104.7
  },
  "luminance": 0.64185
}

Semantic roles & 50–950 ramp

primary
#DCD579
secondary
#4A51B0
accent
#2BC61F
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD579

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

Preview Lab → · Contrast checker → · Palette generator →

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