#DCD17A#DCD17A

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

Color values

HEX#DCD17A
RGBrgb(220, 209, 122)
HSLhsl(53, 58%, 67%)
HSVhsv(53, 45%, 86%)
CMYKcmyk(0%, 5%, 44.5%, 13.7%)
CIE-LABlab(83.03, -8.12, 44.36)
CIE-LCHlch(83.03, 45.09, 100.37°)
OKLaboklab(85.09% -0.0229 0.1069)
OKLCHoklch(85.09% 0.109 102.1)
XYZxyz(55.8298, 62.2234, 27.4780)
Luminance0.6222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD17A #7A85DC
analogous
#DCA07A #DCD17A #B6DC7A
triadic
#DCD17A #7ADCD1 #D17ADC
tetradic
#DCD17A #7ADCA0 #7A85DC #DC7AB6
square
#DCD17A #7ADCA0 #7A85DC #DC7AB6
split-complementary
#DCD17A #7AB6DC #A07ADC
monochromatic
#AE9F2E #CFC04A #DCD17A #E9E2AA #F6F3DB

Accessibility & contrast

On white

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

On black

13.44
#DCD17A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD17A
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD17A#FFFFFF#000000##000000
##DCD17A1.001.5613.4413.44
#FFFFFF1.561.0021.0021.00
#00000013.4421.001.001.00
##00000013.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcd17a;
/* rgb */ color: rgb(220, 209, 122);
/* oklch */ color: oklch(85.1% 0.109 102.1);
Tailwind
colors: {
  custom: {
    50: '#e8dea2',
    500: '#dcd17a',
    950: '#000000',
  },
}
SCSS
$custom: #dcd17a;
$custom-light: #e8dea2;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd17a",
  "rgb": {
    "r": 220,
    "g": 209,
    "b": 122
  },
  "hsl": {
    "h": 53.265,
    "s": 58.333,
    "l": 67.059
  },
  "oklch": {
    "l": 0.85091,
    "c": 0.10929,
    "h": 102.1
  },
  "luminance": 0.62222
}

Semantic roles & 50–950 ramp

primary
#DCD17A
secondary
#4A55B0
accent
#32C620
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD17A

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

Preview Lab → · Contrast checker → · Palette generator →

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