#DCD582#DCD582

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

Color values

HEX#DCD582
RGBrgb(220, 213, 130)
HSLhsl(55, 56%, 69%)
HSVhsv(55, 41%, 86%)
CMYKcmyk(0%, 3.2%, 40.9%, 13.7%)
CIE-LABlab(84.18, -9.34, 41.83)
CIE-LCHlch(84.18, 42.86, 102.59°)
OKLaboklab(86.04% -0.0257 0.1017)
OKLCHoklch(86.04% 0.105 104.2)
XYZxyz(57.3398, 64.4173, 30.5280)
Luminance0.6442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD582 #8289DC
analogous
#DCA882 #DCD582 #B6DC82
triadic
#DCD582 #82DCD5 #D582DC
tetradic
#DCD582 #82DCA8 #8289DC #DC82B6
square
#DCD582 #82DCA8 #8289DC #DC82B6
split-complementary
#DCD582 #82B6DC #A882DC
monochromatic
#B2A832 #CFC552 #DCD582 #E9E5B2 #F7F5E2

Accessibility & contrast

On white

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

On black

13.88
#DCD582 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD582
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD582#FFFFFF#000000##000000
##DCD5821.001.5113.8813.88
#FFFFFF1.511.0021.0021.00
#00000013.8821.001.001.00
##00000013.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CF7C
Deuteranopia (green-blind)
#E5D485
Tritanopia (blue-blind)
#E8CBC1
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dcd582;
/* rgb */ color: rgb(220, 213, 130);
/* oklch */ color: oklch(86.0% 0.105 104.2);
Tailwind
colors: {
  custom: {
    50: '#e8e1a7',
    500: '#dcd582',
    950: '#000000',
  },
}
SCSS
$custom: #dcd582;
$custom-light: #e8e1a7;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd582",
  "rgb": {
    "r": 220,
    "g": 213,
    "b": 130
  },
  "hsl": {
    "h": 55.333,
    "s": 56.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.86039,
    "c": 0.10485,
    "h": 104.2
  },
  "luminance": 0.64416
}

Semantic roles & 50–950 ramp

primary
#DCD582
secondary
#5057B3
accent
#2EC422
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD582

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

Preview Lab → · Contrast checker → · Palette generator →

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