#DCD17D#DCD17D

#DCD17D is a very light, moderate yellow. Relative luminance 0.623; OKLCH L 85.1% C 0.106 H 101.8°. Best body text is #000000 at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#DCD17D
RGBrgb(220, 209, 125)
HSLhsl(53, 58%, 68%)
HSVhsv(53, 43%, 86%)
CMYKcmyk(0%, 5%, 43.2%, 13.7%)
CIE-LABlab(83.07, -7.82, 42.92)
CIE-LCHlch(83.07, 43.63, 100.33°)
OKLaboklab(85.14% -0.0217 0.1038)
OKLCHoklch(85.14% 0.106 101.8)
XYZxyz(56.0186, 62.2989, 28.4721)
Luminance0.6230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD17D #7D88DC
analogous
#DCA27D #DCD17D #B7DC7D
triadic
#DCD17D #7DDCD1 #D17DDC
tetradic
#DCD17D #7DDCA2 #7D88DC #DC7DB7
square
#DCD17D #7DDCA2 #7D88DC #DC7DB7
split-complementary
#DCD17D #7DB7DC #A27DDC
monochromatic
#AFA12F #CFC04D #DCD17D #E9E2AD #F6F3DD

Accessibility & contrast

On white

1.56
#DCD17D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.46
#DCD17D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD17D
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD17D#FFFFFF#000000##000000
##DCD17D1.001.5613.4613.46
#FFFFFF1.561.0021.0021.00
#00000013.4621.001.001.00
##00000013.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCC76
Deuteranopia (green-blind)
#E3D180
Tritanopia (blue-blind)
#E9C6BD
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dcd17d;
/* rgb */ color: rgb(220, 209, 125);
/* oklch */ color: oklch(85.1% 0.106 101.8);
Tailwind
colors: {
  custom: {
    50: '#e8dea4',
    500: '#dcd17d',
    950: '#000000',
  },
}
SCSS
$custom: #dcd17d;
$custom-light: #e8dea4;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd17d",
  "rgb": {
    "r": 220,
    "g": 209,
    "b": 125
  },
  "hsl": {
    "h": 53.053,
    "s": 57.576,
    "l": 67.647
  },
  "oklch": {
    "l": 0.85136,
    "c": 0.10608,
    "h": 101.8
  },
  "luminance": 0.62297
}

Semantic roles & 50–950 ramp

primary
#DCD17D
secondary
#4C57B2
accent
#33C520
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD17D

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

Preview Lab → · Contrast checker → · Palette generator →

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