#DCD581#DCD581

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

Color values

HEX#DCD581
RGBrgb(220, 213, 129)
HSLhsl(55, 57%, 68%)
HSVhsv(55, 41%, 86%)
CMYKcmyk(0%, 3.2%, 41.4%, 13.7%)
CIE-LABlab(84.17, -9.44, 42.31)
CIE-LCHlch(84.17, 43.35, 102.58°)
OKLaboklab(86.02% -0.0261 0.1027)
OKLCHoklch(86.02% 0.106 104.2)
XYZxyz(57.2730, 64.3906, 30.1763)
Luminance0.6439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD581 #8188DC
analogous
#DCA781 #DCD581 #B5DC81
triadic
#DCD581 #81DCD5 #D581DC
tetradic
#DCD581 #81DCA7 #8188DC #DC81B5
square
#DCD581 #81DCA7 #8188DC #DC81B5
split-complementary
#DCD581 #81B5DC #A781DC
monochromatic
#B1A731 #CFC551 #DCD581 #E9E5B1 #F7F5E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD581#FFFFFF#000000##000000
##DCD5811.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)
#E3CF7A
Deuteranopia (green-blind)
#E5D485
Tritanopia (blue-blind)
#E8CBC0
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #dcd581;
/* rgb */ color: rgb(220, 213, 129);
/* oklch */ color: oklch(86.0% 0.106 104.2);
Tailwind
colors: {
  custom: {
    50: '#e8e1a7',
    500: '#dcd581',
    950: '#000000',
  },
}
SCSS
$custom: #dcd581;
$custom-light: #e8e1a7;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd581",
  "rgb": {
    "r": 220,
    "g": 213,
    "b": 129
  },
  "hsl": {
    "h": 55.385,
    "s": 56.522,
    "l": 68.431
  },
  "oklch": {
    "l": 0.86023,
    "c": 0.10594,
    "h": 104.2
  },
  "luminance": 0.64389
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCD581

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

Preview Lab → · Contrast checker → · Palette generator →

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