#DCD179#DCD179

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

Color values

HEX#DCD179
RGBrgb(220, 209, 121)
HSLhsl(53, 59%, 67%)
HSVhsv(53, 45%, 86%)
CMYKcmyk(0%, 5%, 45%, 13.7%)
CIE-LABlab(83.02, -8.22, 44.83)
CIE-LCHlch(83.02, 45.58, 100.39°)
OKLaboklab(85.08% -0.0232 0.1079)
OKLCHoklch(85.08% 0.11 102.2)
XYZxyz(55.7682, 62.1987, 27.1533)
Luminance0.6220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD179 #7984DC
analogous
#DCA079 #DCD179 #B6DC79
triadic
#DCD179 #79DCD1 #D179DC
tetradic
#DCD179 #79DCA0 #7984DC #DC79B6
square
#DCD179 #79DCA0 #7984DC #DC79B6
split-complementary
#DCD179 #79B6DC #A079DC
monochromatic
#AD9F2D #CFC048 #DCD179 #E9E2AA #F5F2DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCD179#FFFFFF#000000##000000
##DCD1791.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)
#DFCC72
Deuteranopia (green-blind)
#E3D17D
Tritanopia (blue-blind)
#E9C6BC
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #dcd179;
/* rgb */ color: rgb(220, 209, 121);
/* oklch */ color: oklch(85.1% 0.110 102.2);
Tailwind
colors: {
  custom: {
    50: '#e8dea1',
    500: '#dcd179',
    950: '#000000',
  },
}
SCSS
$custom: #dcd179;
$custom-light: #e8dea1;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd179",
  "rgb": {
    "r": 220,
    "g": 209,
    "b": 121
  },
  "hsl": {
    "h": 53.333,
    "s": 58.58,
    "l": 66.863
  },
  "oklch": {
    "l": 0.85076,
    "c": 0.11035,
    "h": 102.2
  },
  "luminance": 0.62197
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCD179

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

Preview Lab → · Contrast checker → · Palette generator →

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