#DCD580#DCD580

#DCD580 is a very light, moderate yellow. Relative luminance 0.644; OKLCH L 86.0% C 0.107 H 104.3°. Best body text is #000000 at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#DCD580
RGBrgb(220, 213, 128)
HSLhsl(55, 57%, 68%)
HSVhsv(55, 42%, 86%)
CMYKcmyk(0%, 3.2%, 41.8%, 13.7%)
CIE-LABlab(84.16, -9.55, 42.79)
CIE-LCHlch(84.16, 43.84, 102.58°)
OKLaboklab(86.01% -0.0264 0.1037)
OKLCHoklch(86.01% 0.107 104.3)
XYZxyz(57.2068, 64.3642, 29.8279)
Luminance0.6436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD580 #8087DC
analogous
#DCA780 #DCD580 #B5DC80
triadic
#DCD580 #80DCD5 #D580DC
tetradic
#DCD580 #80DCA7 #8087DC #DC80B5
square
#DCD580 #80DCA7 #8087DC #DC80B5
split-complementary
#DCD580 #80B5DC #A780DC
monochromatic
#B1A731 #CFC550 #DCD580 #E9E5B0 #F6F5E0

Accessibility & contrast

On white

1.51
#DCD580 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.87
#DCD580 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD580
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD580#FFFFFF#000000##000000
##DCD5801.001.5113.8713.87
#FFFFFF1.511.0021.0021.00
#00000013.8721.001.001.00
##00000013.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CF79
Deuteranopia (green-blind)
#E5D484
Tritanopia (blue-blind)
#E8CBC0
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dcd580;
/* rgb */ color: rgb(220, 213, 128);
/* oklch */ color: oklch(86.0% 0.107 104.3);
Tailwind
colors: {
  custom: {
    50: '#e8e1a6',
    500: '#dcd580',
    950: '#000000',
  },
}
SCSS
$custom: #dcd580;
$custom-light: #e8e1a6;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd580",
  "rgb": {
    "r": 220,
    "g": 213,
    "b": 128
  },
  "hsl": {
    "h": 55.435,
    "s": 56.79,
    "l": 68.235
  },
  "oklch": {
    "l": 0.86008,
    "c": 0.10703,
    "h": 104.3
  },
  "luminance": 0.64363
}

Semantic roles & 50–950 ramp

primary
#DCD580
secondary
#4E55B3
accent
#2EC421
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD580

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

Preview Lab → · Contrast checker → · Palette generator →

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