#DCD786#DCD786

#DCD786 is a very light, moderate yellow. Relative luminance 0.655; OKLCH L 86.5% C 0.103 H 105.3°. Best body text is #000000 at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#DCD786
RGBrgb(220, 215, 134)
HSLhsl(57, 55%, 69%)
HSVhsv(57, 39%, 86%)
CMYKcmyk(0%, 2.3%, 39.1%, 13.7%)
CIE-LABlab(84.76, -9.92, 40.56)
CIE-LCHlch(84.76, 41.76, 103.75°)
OKLaboklab(86.52% -0.0271 0.099)
OKLCHoklch(86.52% 0.103 105.3)
XYZxyz(58.1196, 65.5391, 32.1383)
Luminance0.6554 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD786 #868BDC
analogous
#DCAC86 #DCD786 #B6DC86
triadic
#DCD786 #86DCD7 #D786DC
tetradic
#DCD786 #86DCAC #868BDC #DC86B6
square
#DCD786 #86DCAC #868BDC #DC86B6
split-complementary
#DCD786 #86B6DC #AC86DC
monochromatic
#B4AC34 #CEC757 #DCD786 #EAE7B5 #F7F6E5

Accessibility & contrast

On white

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

On black

14.11
#DCD786 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD786
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD786#FFFFFF#000000##000000
##DCD7861.001.4914.1114.11
#FFFFFF1.491.0021.0021.00
#00000014.1121.001.001.00
##00000014.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D180
Deuteranopia (green-blind)
#E6D589
Tritanopia (blue-blind)
#E8CDC3
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #dcd786;
/* rgb */ color: rgb(220, 215, 134);
/* oklch */ color: oklch(86.5% 0.103 105.3);
Tailwind
colors: {
  custom: {
    50: '#e8e3aa',
    500: '#dcd786',
    950: '#000000',
  },
}
SCSS
$custom: #dcd786;
$custom-light: #e8e3aa;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd786",
  "rgb": {
    "r": 220,
    "g": 215,
    "b": 134
  },
  "hsl": {
    "h": 56.512,
    "s": 55.128,
    "l": 69.412
  },
  "oklch": {
    "l": 0.86516,
    "c": 0.10261,
    "h": 105.3
  },
  "luminance": 0.65538
}

Semantic roles & 50–950 ramp

primary
#DCD786
secondary
#5359B3
accent
#2CC323
background
#FEFEFD
surface
#FDFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #DCD786

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

Preview Lab → · Contrast checker → · Palette generator →

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