#DCC786#DCC786

#DCC786 is a very light, moderate yellow. Relative luminance 0.578; OKLCH L 83.2% C 0.087 H 92.2°. Best body text is #000000 at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#DCC786
RGBrgb(220, 199, 134)
HSLhsl(45, 55%, 69%)
HSVhsv(45, 39%, 86%)
CMYKcmyk(0%, 9.5%, 39.1%, 13.7%)
CIE-LABlab(80.62, -1.73, 35.23)
CIE-LCHlch(80.62, 35.27, 92.81°)
OKLaboklab(83.24% -0.0034 0.0867)
OKLCHoklch(83.24% 0.087 92.2)
XYZxyz(54.2429, 57.7856, 30.8461)
Luminance0.5778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC786 #869BDC
analogous
#DC9C86 #DCC786 #C6DC86
triadic
#DCC786 #86DCC7 #C786DC
tetradic
#DCC786 #86DC9C #869BDC #DC86C6
square
#DCC786 #86DC9C #869BDC #DC86C6
split-complementary
#DCC786 #86C6DC #9C86DC
monochromatic
#B49434 #CEB157 #DCC786 #EADDB5 #F7F3E5

Accessibility & contrast

On white

1.67
#DCC786 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.56
#DCC786 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC786
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC786#FFFFFF#000000##000000
##DCC7861.001.6712.5612.56
#FFFFFF1.671.0021.0021.00
#00000012.5621.001.001.00
##00000012.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C481
Deuteranopia (green-blind)
#DACB88
Tritanopia (blue-blind)
#E9BDB7
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dcc786;
/* rgb */ color: rgb(220, 199, 134);
/* oklch */ color: oklch(83.2% 0.087 92.2);
Tailwind
colors: {
  custom: {
    50: '#e8d7aa',
    500: '#dcc786',
    950: '#000000',
  },
}
SCSS
$custom: #dcc786;
$custom-light: #e8d7aa;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc786",
  "rgb": {
    "r": 220,
    "g": 199,
    "b": 134
  },
  "hsl": {
    "h": 45.349,
    "s": 55.128,
    "l": 69.412
  },
  "oklch": {
    "l": 0.83238,
    "c": 0.08681,
    "h": 92.2
  },
  "luminance": 0.57784
}

Semantic roles & 50–950 ramp

primary
#DCC786
secondary
#536BB3
accent
#4AC323
background
#FEFEFD
surface
#FDFBF7
border
#D5D4D0
text
#161410
muted
#848381

Preview Lab

Preview with #DCC786

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

Preview Lab → · Contrast checker → · Palette generator →

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