#DCC170#DCC170

#DCC170 is a light, moderate yellow. Relative luminance 0.545; OKLCH L 81.7% C 0.106 H 91.5°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#DCC170
RGBrgb(220, 193, 112)
HSLhsl(45, 61%, 65%)
HSVhsv(45, 49%, 86%)
CMYKcmyk(0%, 12.3%, 49.1%, 13.7%)
CIE-LABlab(78.77, -0.83, 44.05)
CIE-LCHlch(78.77, 44.05, 91.08°)
OKLaboklab(81.68% -0.0028 0.1055)
OKLCHoklch(81.68% 0.106 91.5)
XYZxyz(51.5115, 54.5277, 23.1377)
Luminance0.5453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC170 #708BDC
analogous
#DC8B70 #DCC170 #C1DC70
triadic
#DCC170 #70DCC1 #C170DC
tetradic
#DCC170 #70DC8B #708BDC #DC70C1
square
#DCC170 #70DC8B #708BDC #DC70C1
split-complementary
#DCC170 #70C1DC #8B70DC
monochromatic
#A88929 #D0AC3F #DCC170 #E8D6A1 #F4ECD2

Accessibility & contrast

On white

1.76
#DCC170 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.91
#DCC170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC170
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC170#FFFFFF#000000##000000
##DCC1701.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BE69
Deuteranopia (green-blind)
#D8C673
Tritanopia (blue-blind)
#EBB5AE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #dcc170;
/* rgb */ color: rgb(220, 193, 112);
/* oklch */ color: oklch(81.7% 0.106 91.5);
Tailwind
colors: {
  custom: {
    50: '#e9d39a',
    500: '#dcc170',
    950: '#000000',
  },
}
SCSS
$custom: #dcc170;
$custom-light: #e9d39a;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc170",
  "rgb": {
    "r": 220,
    "g": 193,
    "b": 112
  },
  "hsl": {
    "h": 45,
    "s": 60.674,
    "l": 65.098
  },
  "oklch": {
    "l": 0.81676,
    "c": 0.10552,
    "h": 91.5
  },
  "luminance": 0.54525
}

Semantic roles & 50–950 ramp

primary
#DCC170
secondary
#455FAB
accent
#48C81D
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F

Preview Lab

Preview with #DCC170

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

Preview Lab → · Contrast checker → · Palette generator →

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