#DCD682#DCD682

#DCD682 is a very light, moderate yellow. Relative luminance 0.649; OKLCH L 86.2% C 0.106 H 104.8°. Best body text is #000000 at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#DCD682
RGBrgb(220, 214, 130)
HSLhsl(56, 56%, 69%)
HSVhsv(56, 41%, 86%)
CMYKcmyk(0%, 2.7%, 40.9%, 13.7%)
CIE-LABlab(84.44, -9.84, 42.16)
CIE-LCHlch(84.44, 43.29, 103.14°)
OKLaboklab(86.25% -0.0271 0.1024)
OKLCHoklch(86.25% 0.106 104.8)
XYZxyz(57.5921, 64.9219, 30.6121)
Luminance0.6492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD682 #8288DC
analogous
#DCA982 #DCD682 #B5DC82
triadic
#DCD682 #82DCD6 #D682DC
tetradic
#DCD682 #82DCA9 #8288DC #DC82B5
square
#DCD682 #82DCA9 #8288DC #DC82B5
split-complementary
#DCD682 #82B5DC #A982DC
monochromatic
#B2A932 #CFC652 #DCD682 #E9E6B2 #F7F5E2

Accessibility & contrast

On white

1.50
#DCD682 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.98
#DCD682 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD682
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD682#FFFFFF#000000##000000
##DCD6821.001.5013.9813.98
#FFFFFF1.501.0021.0021.00
#00000013.9821.001.001.00
##00000013.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D07B
Deuteranopia (green-blind)
#E6D586
Tritanopia (blue-blind)
#E8CCC1
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #dcd682;
/* rgb */ color: rgb(220, 214, 130);
/* oklch */ color: oklch(86.2% 0.106 104.8);
Tailwind
colors: {
  custom: {
    50: '#e8e2a7',
    500: '#dcd682',
    950: '#000000',
  },
}
SCSS
$custom: #dcd682;
$custom-light: #e8e2a7;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd682",
  "rgb": {
    "r": 220,
    "g": 214,
    "b": 130
  },
  "hsl": {
    "h": 56,
    "s": 56.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.86246,
    "c": 0.10593,
    "h": 104.8
  },
  "luminance": 0.6492
}

Semantic roles & 50–950 ramp

primary
#DCD682
secondary
#5056B3
accent
#2DC422
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD682

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

Preview Lab → · Contrast checker → · Palette generator →

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