#DCD782#DCD782

#DCD782 is a very light, moderate yellow. Relative luminance 0.654; OKLCH L 86.5% C 0.107 H 105.5°. Best body text is #000000 at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#DCD782
RGBrgb(220, 215, 130)
HSLhsl(57, 56%, 69%)
HSVhsv(57, 41%, 86%)
CMYKcmyk(0%, 2.3%, 40.9%, 13.7%)
CIE-LABlab(84.70, -10.35, 42.49)
CIE-LCHlch(84.70, 43.73, 103.69°)
OKLaboklab(86.45% -0.0286 0.1031)
OKLCHoklch(86.45% 0.107 105.5)
XYZxyz(57.8459, 65.4296, 30.6968)
Luminance0.6543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD782 #8287DC
analogous
#DCAA82 #DCD782 #B4DC82
triadic
#DCD782 #82DCD7 #D782DC
tetradic
#DCD782 #82DCAA #8287DC #DC82B4
square
#DCD782 #82DCAA #8287DC #DC82B4
split-complementary
#DCD782 #82B4DC #AA82DC
monochromatic
#B2AB32 #CFC852 #DCD782 #E9E6B2 #F7F6E2

Accessibility & contrast

On white

1.49
#DCD782 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.09
#DCD782 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD782
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD782#FFFFFF#000000##000000
##DCD7821.001.4914.0914.09
#FFFFFF1.491.0021.0021.00
#00000014.0921.001.001.00
##00000014.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D17B
Deuteranopia (green-blind)
#E7D586
Tritanopia (blue-blind)
#E8CDC2
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dcd782;
/* rgb */ color: rgb(220, 215, 130);
/* oklch */ color: oklch(86.5% 0.107 105.5);
Tailwind
colors: {
  custom: {
    50: '#e8e3a7',
    500: '#dcd782',
    950: '#000000',
  },
}
SCSS
$custom: #dcd782;
$custom-light: #e8e3a7;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd782",
  "rgb": {
    "r": 220,
    "g": 215,
    "b": 130
  },
  "hsl": {
    "h": 56.667,
    "s": 56.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.86453,
    "c": 0.10703,
    "h": 105.5
  },
  "luminance": 0.65428
}

Semantic roles & 50–950 ramp

primary
#DCD782
secondary
#5055B3
accent
#2BC422
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#161510
muted
#848480

Preview Lab

Preview with #DCD782

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

Preview Lab → · Contrast checker → · Palette generator →

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