#DCD882#DCD882

#DCD882 is a very light, moderate yellow. Relative luminance 0.659; OKLCH L 86.7% C 0.108 H 106.1°. Best body text is #000000 at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#DCD882
RGBrgb(220, 216, 130)
HSLhsl(57, 56%, 69%)
HSVhsv(57, 41%, 86%)
CMYKcmyk(0%, 1.8%, 40.9%, 13.7%)
CIE-LABlab(84.97, -10.85, 42.82)
CIE-LCHlch(84.97, 44.17, 104.22°)
OKLaboklab(86.66% -0.03 0.1039)
OKLCHoklch(86.66% 0.108 106.1)
XYZxyz(58.1013, 65.9405, 30.7819)
Luminance0.6594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD882 #8286DC
analogous
#DCAB82 #DCD882 #B3DC82
triadic
#DCD882 #82DCD8 #D882DC
tetradic
#DCD882 #82DCAB #8286DC #DC82B3
square
#DCD882 #82DCAB #8286DC #DC82B3
split-complementary
#DCD882 #82B3DC #AB82DC
monochromatic
#B2AC32 #CFC952 #DCD882 #E9E7B2 #F7F6E2

Accessibility & contrast

On white

1.48
#DCD882 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.19
#DCD882 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD882
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD882#FFFFFF#000000##000000
##DCD8821.001.4814.1914.19
#FFFFFF1.481.0021.0021.00
#00000014.1921.001.001.00
##00000014.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D27B
Deuteranopia (green-blind)
#E7D686
Tritanopia (blue-blind)
#E8CEC3
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcd882;
/* rgb */ color: rgb(220, 216, 130);
/* oklch */ color: oklch(86.7% 0.108 106.1);
Tailwind
colors: {
  custom: {
    50: '#e8e3a7',
    500: '#dcd882',
    950: '#000000',
  },
}
SCSS
$custom: #dcd882;
$custom-light: #e8e3a7;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd882",
  "rgb": {
    "r": 220,
    "g": 216,
    "b": 130
  },
  "hsl": {
    "h": 57.333,
    "s": 56.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.86661,
    "c": 0.10814,
    "h": 106.1
  },
  "luminance": 0.65939
}

Semantic roles & 50–950 ramp

primary
#DCD882
secondary
#5054B3
accent
#29C422
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#161510
muted
#848480

Preview Lab

Preview with #DCD882

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

Preview Lab → · Contrast checker → · Palette generator →

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