#DCD578#DCD578

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

Color values

HEX#DCD578
RGBrgb(220, 213, 120)
HSLhsl(56, 59%, 67%)
HSVhsv(56, 45%, 86%)
CMYKcmyk(0%, 3.2%, 45.5%, 13.7%)
CIE-LABlab(84.05, -10.34, 46.60)
CIE-LCHlch(84.05, 47.73, 102.51°)
OKLaboklab(85.89% -0.0294 0.1117)
OKLCHoklch(85.89% 0.116 104.8)
XYZxyz(56.7009, 64.1618, 27.1633)
Luminance0.6416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD578 #787FDC
analogous
#DCA378 #DCD578 #B1DC78
triadic
#DCD578 #78DCD5 #D578DC
tetradic
#DCD578 #78DCA3 #787FDC #DC78B1
square
#DCD578 #78DCA3 #787FDC #DC78B1
split-complementary
#DCD578 #78B1DC #A378DC
monochromatic
#ADA42D #CFC647 #DCD578 #E9E4A9 #F5F3D9

Accessibility & contrast

On white

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

On black

13.83
#DCD578 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD578
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD578#FFFFFF#000000##000000
##DCD5781.001.5213.8313.83
#FFFFFF1.521.0021.0021.00
#00000013.8321.001.001.00
##00000013.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd578;
/* rgb */ color: rgb(220, 213, 120);
/* oklch */ color: oklch(85.9% 0.116 104.8);
Tailwind
colors: {
  custom: {
    50: '#e8e1a1',
    500: '#dcd578',
    950: '#000000',
  },
}
SCSS
$custom: #dcd578;
$custom-light: #e8e1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd578",
  "rgb": {
    "r": 220,
    "g": 213,
    "b": 120
  },
  "hsl": {
    "h": 55.8,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.8589,
    "c": 0.11555,
    "h": 104.8
  },
  "luminance": 0.6416
}

Semantic roles & 50–950 ramp

primary
#DCD578
secondary
#4950AF
accent
#2BC61F
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD578

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

Preview Lab → · Contrast checker → · Palette generator →

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