#DCC784#DCC784

#DCC784 is a very light, moderate yellow. Relative luminance 0.577; OKLCH L 83.2% C 0.089 H 92.7°. Best body text is #000000 at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#DCC784
RGBrgb(220, 199, 132)
HSLhsl(46, 56%, 69%)
HSVhsv(46, 40%, 86%)
CMYKcmyk(0%, 9.5%, 40%, 13.7%)
CIE-LABlab(80.59, -1.95, 36.22)
CIE-LCHlch(80.59, 36.27, 93.08°)
OKLaboklab(83.2% -0.0042 0.0889)
OKLCHoklch(83.2% 0.089 92.7)
XYZxyz(54.1047, 57.7303, 30.1184)
Luminance0.5773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC784 #8499DC
analogous
#DC9B84 #DCC784 #C5DC84
triadic
#DCC784 #84DCC7 #C784DC
tetradic
#DCC784 #84DC9B #8499DC #DC84C5
square
#DCC784 #84DC9B #8499DC #DC84C5
split-complementary
#DCC784 #84C5DC #9B84DC
monochromatic
#B39433 #CEB154 #DCC784 #EADDB4 #F7F2E3

Accessibility & contrast

On white

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

On black

12.55
#DCC784 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC784
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC784#FFFFFF#000000##000000
##DCC7841.001.6712.5512.55
#FFFFFF1.671.0021.0021.00
#00000012.5521.001.001.00
##00000012.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C47F
Deuteranopia (green-blind)
#DACB86
Tritanopia (blue-blind)
#E9BDB6
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #dcc784;
/* rgb */ color: rgb(220, 199, 132);
/* oklch */ color: oklch(83.2% 0.089 92.7);
Tailwind
colors: {
  custom: {
    50: '#e8d7a8',
    500: '#dcc784',
    950: '#000000',
  },
}
SCSS
$custom: #dcc784;
$custom-light: #e8d7a8;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc784",
  "rgb": {
    "r": 220,
    "g": 199,
    "b": 132
  },
  "hsl": {
    "h": 45.682,
    "s": 55.696,
    "l": 69.02
  },
  "oklch": {
    "l": 0.83204,
    "c": 0.08904,
    "h": 92.7
  },
  "luminance": 0.57728
}

Semantic roles & 50–950 ramp

primary
#DCC784
secondary
#5169B3
accent
#49C322
background
#FEFEFC
surface
#FDFBF6
border
#D5D4D0
text
#161410
muted
#848380

Preview Lab

Preview with #DCC784

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

Preview Lab → · Contrast checker → · Palette generator →

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