#DCD17C#DCD17C

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

Color values

HEX#DCD17C
RGBrgb(220, 209, 124)
HSLhsl(53, 58%, 67%)
HSVhsv(53, 44%, 86%)
CMYKcmyk(0%, 5%, 43.6%, 13.7%)
CIE-LABlab(83.06, -7.92, 43.40)
CIE-LCHlch(83.06, 44.12, 100.35°)
OKLaboklab(85.12% -0.0221 0.1049)
OKLCHoklch(85.12% 0.107 101.9)
XYZxyz(55.9550, 62.2735, 28.1373)
Luminance0.6227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD17C #7C87DC
analogous
#DCA17C #DCD17C #B7DC7C
triadic
#DCD17C #7CDCD1 #D17CDC
tetradic
#DCD17C #7CDCA1 #7C87DC #DC7CB7
square
#DCD17C #7CDCA1 #7C87DC #DC7CB7
split-complementary
#DCD17C #7CB7DC #A17CDC
monochromatic
#AFA02F #CFC04C #DCD17C #E9E2AC #F6F3DD

Accessibility & contrast

On white

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

On black

13.45
#DCD17C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD17C
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD17C#FFFFFF#000000##000000
##DCD17C1.001.5613.4513.45
#FFFFFF1.561.0021.0021.00
#00000013.4521.001.001.00
##00000013.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd17c;
/* rgb */ color: rgb(220, 209, 124);
/* oklch */ color: oklch(85.1% 0.107 101.9);
Tailwind
colors: {
  custom: {
    50: '#e8dea3',
    500: '#dcd17c',
    950: '#000000',
  },
}
SCSS
$custom: #dcd17c;
$custom-light: #e8dea3;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd17c",
  "rgb": {
    "r": 220,
    "g": 209,
    "b": 124
  },
  "hsl": {
    "h": 53.125,
    "s": 57.831,
    "l": 67.451
  },
  "oklch": {
    "l": 0.85121,
    "c": 0.10716,
    "h": 101.9
  },
  "luminance": 0.62272
}

Semantic roles & 50–950 ramp

primary
#DCD17C
secondary
#4B57B1
accent
#33C520
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD17C

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

Preview Lab → · Contrast checker → · Palette generator →

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