#DCC684#DCC684

#DCC684 is a very light, moderate yellow. Relative luminance 0.573; OKLCH L 83.0% C 0.088 H 91.7°. Best body text is #000000 at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#DCC684
RGBrgb(220, 198, 132)
HSLhsl(45, 56%, 69%)
HSVhsv(45, 40%, 86%)
CMYKcmyk(0%, 10%, 40%, 13.7%)
CIE-LABlab(80.33, -1.43, 35.89)
CIE-LCHlch(80.33, 35.92, 92.28°)
OKLaboklab(83% -0.0027 0.0882)
OKLCHoklch(83% 0.088 91.7)
XYZxyz(53.8754, 57.2717, 30.0419)
Luminance0.5727 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC684 #849ADC
analogous
#DC9A84 #DCC684 #C6DC84
triadic
#DCC684 #84DCC6 #C684DC
tetradic
#DCC684 #84DC9A #849ADC #DC84C6
square
#DCC684 #84DC9A #849ADC #DC84C6
split-complementary
#DCC684 #84C6DC #9A84DC
monochromatic
#B39333 #CEB054 #DCC684 #EADCB4 #F7F2E3

Accessibility & contrast

On white

1.69
#DCC684 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.45
#DCC684 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC684
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC684#FFFFFF#000000##000000
##DCC6841.001.6912.4512.45
#FFFFFF1.691.0021.0021.00
#00000012.4521.001.001.00
##00000012.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C47F
Deuteranopia (green-blind)
#D9CA86
Tritanopia (blue-blind)
#E9BCB5
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #dcc684;
/* rgb */ color: rgb(220, 198, 132);
/* oklch */ color: oklch(83.0% 0.088 91.7);
Tailwind
colors: {
  custom: {
    50: '#e8d7a8',
    500: '#dcc684',
    950: '#000000',
  },
}
SCSS
$custom: #dcc684;
$custom-light: #e8d7a8;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc684",
  "rgb": {
    "r": 220,
    "g": 198,
    "b": 132
  },
  "hsl": {
    "h": 45,
    "s": 55.696,
    "l": 69.02
  },
  "oklch": {
    "l": 0.83002,
    "c": 0.08821,
    "h": 91.7
  },
  "luminance": 0.5727
}

Semantic roles & 50–950 ramp

primary
#DCC684
secondary
#516AB3
accent
#4BC322
background
#FEFEFC
surface
#FDFBF6
border
#D5D4D0
text
#161410
muted
#848380

Preview Lab

Preview with #DCC684

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

Preview Lab → · Contrast checker → · Palette generator →

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