#DCD082#DCD082

#DCD082 is a very light, moderate yellow. Relative luminance 0.619; OKLCH L 85.0% C 0.100 H 100.6°. Best body text is #000000 at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#DCD082
RGBrgb(220, 208, 130)
HSLhsl(52, 56%, 69%)
HSVhsv(52, 41%, 86%)
CMYKcmyk(0%, 5.5%, 40.9%, 13.7%)
CIE-LABlab(82.88, -6.80, 40.18)
CIE-LCHlch(82.88, 40.75, 99.60°)
OKLaboklab(85.01% -0.0184 0.0979)
OKLCHoklch(85.01% 0.1 100.6)
XYZxyz(56.1015, 61.9407, 30.1153)
Luminance0.6194 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD082 #828EDC
analogous
#DCA382 #DCD082 #BBDC82
triadic
#DCD082 #82DCD0 #D082DC
tetradic
#DCD082 #82DCA3 #828EDC #DC82BB
square
#DCD082 #82DCA3 #828EDC #DC82BB
split-complementary
#DCD082 #82BBDC #A382DC
monochromatic
#B2A132 #CFBE52 #DCD082 #E9E2B2 #F7F4E2

Accessibility & contrast

On white

1.57
#DCD082 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.39
#DCD082 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD082
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD082#FFFFFF#000000##000000
##DCD0821.001.5713.3913.39
#FFFFFF1.571.0021.0021.00
#00000013.3921.001.001.00
##00000013.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECB7C
Deuteranopia (green-blind)
#E1D185
Tritanopia (blue-blind)
#E8C6BD
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dcd082;
/* rgb */ color: rgb(220, 208, 130);
/* oklch */ color: oklch(85.0% 0.100 100.6);
Tailwind
colors: {
  custom: {
    50: '#e8dea7',
    500: '#dcd082',
    950: '#000000',
  },
}
SCSS
$custom: #dcd082;
$custom-light: #e8dea7;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd082",
  "rgb": {
    "r": 220,
    "g": 208,
    "b": 130
  },
  "hsl": {
    "h": 52,
    "s": 56.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.85008,
    "c": 0.09961,
    "h": 100.6
  },
  "luminance": 0.61939
}

Semantic roles & 50–950 ramp

primary
#DCD082
secondary
#505DB3
accent
#37C422
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD082

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

Preview Lab → · Contrast checker → · Palette generator →

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