#DCC882#DCC882

#DCC882 is a very light, moderate yellow. Relative luminance 0.581; OKLCH L 83.4% C 0.092 H 94.0°. Best body text is #000000 at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#DCC882
RGBrgb(220, 200, 130)
HSLhsl(47, 56%, 69%)
HSVhsv(47, 41%, 86%)
CMYKcmyk(0%, 9.1%, 40.9%, 13.7%)
CIE-LABlab(80.82, -2.68, 37.54)
CIE-LCHlch(80.82, 37.63, 94.09°)
OKLaboklab(83.37% -0.0065 0.0919)
OKLCHoklch(83.37% 0.092 94)
XYZxyz(54.2000, 58.1378, 29.4815)
Luminance0.5814 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC882 #8296DC
analogous
#DC9B82 #DCC882 #C3DC82
triadic
#DCC882 #82DCC8 #C882DC
tetradic
#DCC882 #82DC9B #8296DC #DC82C3
square
#DCC882 #82DC9B #8296DC #DC82C3
split-complementary
#DCC882 #82C3DC #9B82DC
monochromatic
#B29532 #CFB352 #DCC882 #E9DDB2 #F7F2E2

Accessibility & contrast

On white

1.66
#DCC882 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.63
#DCC882 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC882
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC882#FFFFFF#000000##000000
##DCC8821.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C57D
Deuteranopia (green-blind)
#DBCB84
Tritanopia (blue-blind)
#E9BEB6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #dcc882;
/* rgb */ color: rgb(220, 200, 130);
/* oklch */ color: oklch(83.4% 0.092 94.0);
Tailwind
colors: {
  custom: {
    50: '#e8d8a7',
    500: '#dcc882',
    950: '#000000',
  },
}
SCSS
$custom: #dcc882;
$custom-light: #e8d8a7;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc882",
  "rgb": {
    "r": 220,
    "g": 200,
    "b": 130
  },
  "hsl": {
    "h": 46.667,
    "s": 56.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.83373,
    "c": 0.0921,
    "h": 94
  },
  "luminance": 0.58136
}

Semantic roles & 50–950 ramp

primary
#DCC882
secondary
#5066B3
accent
#46C422
background
#FEFEFC
surface
#FDFBF6
border
#D5D4D0
text
#16140F
muted
#848380

Preview Lab

Preview with #DCC882

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

Preview Lab → · Contrast checker → · Palette generator →

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