#DCD17B#DCD17B

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

Color values

HEX#DCD17B
RGBrgb(220, 209, 123)
HSLhsl(53, 58%, 67%)
HSVhsv(53, 44%, 86%)
CMYKcmyk(0%, 5%, 44.1%, 13.7%)
CIE-LABlab(83.05, -8.02, 43.88)
CIE-LCHlch(83.05, 44.61, 100.36°)
OKLaboklab(85.11% -0.0225 0.1059)
OKLCHoklch(85.11% 0.108 102)
XYZxyz(55.8921, 62.2483, 27.8060)
Luminance0.6225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD17B #7B86DC
analogous
#DCA17B #DCD17B #B7DC7B
triadic
#DCD17B #7BDCD1 #D17BDC
tetradic
#DCD17B #7BDCA1 #7B86DC #DC7BB7
square
#DCD17B #7BDCA1 #7B86DC #DC7BB7
split-complementary
#DCD17B #7BB7DC #A17BDC
monochromatic
#AEA02E #CFC04B #DCD17B #E9E2AB #F6F3DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD17B#FFFFFF#000000##000000
##DCD17B1.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)
#DFCC74
Deuteranopia (green-blind)
#E3D17F
Tritanopia (blue-blind)
#E9C6BC
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dcd17b;
/* rgb */ color: rgb(220, 209, 123);
/* oklch */ color: oklch(85.1% 0.108 102.0);
Tailwind
colors: {
  custom: {
    50: '#e8dea2',
    500: '#dcd17b',
    950: '#000000',
  },
}
SCSS
$custom: #dcd17b;
$custom-light: #e8dea2;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd17b",
  "rgb": {
    "r": 220,
    "g": 209,
    "b": 123
  },
  "hsl": {
    "h": 53.196,
    "s": 58.084,
    "l": 67.255
  },
  "oklch": {
    "l": 0.85106,
    "c": 0.10822,
    "h": 102
  },
  "luminance": 0.62247
}

Semantic roles & 50–950 ramp

primary
#DCD17B
secondary
#4B56B1
accent
#33C620
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD17B

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

Preview Lab → · Contrast checker → · Palette generator →

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