#DCD17F#DCD17F

#DCD17F is a very light, moderate yellow. Relative luminance 0.623; OKLCH L 85.2% C 0.104 H 101.7°. Best body text is #000000 at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#DCD17F
RGBrgb(220, 209, 127)
HSLhsl(53, 57%, 68%)
HSVhsv(53, 42%, 86%)
CMYKcmyk(0%, 5%, 42.3%, 13.7%)
CIE-LABlab(83.10, -7.62, 41.96)
CIE-LCHlch(83.10, 42.64, 100.29°)
OKLaboklab(85.17% -0.021 0.1018)
OKLCHoklch(85.17% 0.104 101.7)
XYZxyz(56.1476, 62.3505, 29.1517)
Luminance0.6235 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD17F #7F8ADC
analogous
#DCA27F #DCD17F #B8DC7F
triadic
#DCD17F #7FDCD1 #D17FDC
tetradic
#DCD17F #7FDCA2 #7F8ADC #DC7FB8
square
#DCD17F #7FDCA2 #7F8ADC #DC7FB8
split-complementary
#DCD17F #7FB8DC #A27FDC
monochromatic
#B0A130 #CFC04F #DCD17F #E9E2AF #F6F4DF

Accessibility & contrast

On white

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

On black

13.47
#DCD17F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD17F
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD17F#FFFFFF#000000##000000
##DCD17F1.001.5613.4713.47
#FFFFFF1.561.0021.0021.00
#00000013.4721.001.001.00
##00000013.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCC79
Deuteranopia (green-blind)
#E2D182
Tritanopia (blue-blind)
#E9C7BD
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dcd17f;
/* rgb */ color: rgb(220, 209, 127);
/* oklch */ color: oklch(85.2% 0.104 101.7);
Tailwind
colors: {
  custom: {
    50: '#e8dea5',
    500: '#dcd17f',
    950: '#000000',
  },
}
SCSS
$custom: #dcd17f;
$custom-light: #e8dea5;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd17f",
  "rgb": {
    "r": 220,
    "g": 209,
    "b": 127
  },
  "hsl": {
    "h": 52.903,
    "s": 57.055,
    "l": 68.039
  },
  "oklch": {
    "l": 0.85166,
    "c": 0.10392,
    "h": 101.7
  },
  "luminance": 0.62349
}

Semantic roles & 50–950 ramp

primary
#DCD17F
secondary
#4D59B2
accent
#34C521
background
#FEFEFC
surface
#FDFCF6
border
#D5D5D0
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD17F

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

Preview Lab → · Contrast checker → · Palette generator →

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