#DCD170#DCD170

#DCD170 is a very light, moderate yellow. Relative luminance 0.620; OKLCH L 85.0% C 0.120 H 102.8°. Best body text is #000000 at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#DCD170
RGBrgb(220, 209, 112)
HSLhsl(54, 61%, 65%)
HSVhsv(54, 49%, 86%)
CMYKcmyk(0%, 5%, 49.1%, 13.7%)
CIE-LABlab(82.91, -9.06, 49.08)
CIE-LCHlch(82.91, 49.91, 100.46°)
OKLaboklab(84.95% -0.0265 0.1166)
OKLCHoklch(84.95% 0.12 102.8)
XYZxyz(55.2418, 61.9882, 24.3811)
Luminance0.6199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD170 #707BDC
analogous
#DC9B70 #DCD170 #B1DC70
triadic
#DCD170 #70DCD1 #D170DC
tetradic
#DCD170 #70DC9B #707BDC #DC70B1
square
#DCD170 #70DC9B #707BDC #DC70B1
split-complementary
#DCD170 #70B1DC #9B70DC
monochromatic
#A89B29 #D0C13F #DCD170 #E8E1A1 #F4F1D2

Accessibility & contrast

On white

1.57
#DCD170 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.40
#DCD170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD170
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD170#FFFFFF#000000##000000
##DCD1701.001.5713.4013.40
#FFFFFF1.571.0021.0021.00
#00000013.4021.001.001.00
##00000013.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CB67
Deuteranopia (green-blind)
#E4D174
Tritanopia (blue-blind)
#EAC5BA
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #dcd170;
/* rgb */ color: rgb(220, 209, 112);
/* oklch */ color: oklch(85.0% 0.120 102.8);
Tailwind
colors: {
  custom: {
    50: '#e9de9b',
    500: '#dcd170',
    950: '#000000',
  },
}
SCSS
$custom: #dcd170;
$custom-light: #e9de9b;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd170",
  "rgb": {
    "r": 220,
    "g": 209,
    "b": 112
  },
  "hsl": {
    "h": 53.889,
    "s": 60.674,
    "l": 65.098
  },
  "oklch": {
    "l": 0.84951,
    "c": 0.11959,
    "h": 102.8
  },
  "luminance": 0.61986
}

Semantic roles & 50–950 ramp

primary
#DCD170
secondary
#454FAB
accent
#2FC81D
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#16150E
muted
#85847F

Preview Lab

Preview with #DCD170

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

Preview Lab → · Contrast checker → · Palette generator →

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