#DCD479#DCD479

#DCD479 is a very light, moderate yellow. Relative luminance 0.637; OKLCH L 85.7% C 0.113 H 104.1°. Best body text is #000000 at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#DCD479
RGBrgb(220, 212, 121)
HSLhsl(55, 59%, 67%)
HSVhsv(55, 45%, 86%)
CMYKcmyk(0%, 3.6%, 45%, 13.7%)
CIE-LABlab(83.80, -9.74, 45.80)
CIE-LCHlch(83.80, 46.83, 102.01°)
OKLaboklab(85.7% -0.0276 0.11)
OKLCHoklch(85.7% 0.113 104.1)
XYZxyz(56.5111, 63.6847, 27.4010)
Luminance0.6368 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCD479 #7981DC
analogous
#DCA379 #DCD479 #B2DC79
triadic
#DCD479 #79DCD4 #D479DC
tetradic
#DCD479 #79DCA3 #7981DC #DC79B2
square
#DCD479 #79DCA3 #7981DC #DC79B2
split-complementary
#DCD479 #79B2DC #A379DC
monochromatic
#ADA32D #CFC448 #DCD479 #E9E4AA #F5F3DA

Accessibility & contrast

On white

1.53
#DCD479 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.74
#DCD479 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCD479
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCD479#FFFFFF#000000##000000
##DCD4791.001.5313.7413.74
#FFFFFF1.531.0021.0021.00
#00000013.7421.001.001.00
##00000013.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CE71
Deuteranopia (green-blind)
#E5D37D
Tritanopia (blue-blind)
#E9C9BE
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #dcd479;
/* rgb */ color: rgb(220, 212, 121);
/* oklch */ color: oklch(85.7% 0.113 104.1);
Tailwind
colors: {
  custom: {
    50: '#e8e1a1',
    500: '#dcd479',
    950: '#000000',
  },
}
SCSS
$custom: #dcd479;
$custom-light: #e8e1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#dcd479",
  "rgb": {
    "r": 220,
    "g": 212,
    "b": 121
  },
  "hsl": {
    "h": 55.152,
    "s": 58.58,
    "l": 66.863
  },
  "oklch": {
    "l": 0.85697,
    "c": 0.11345,
    "h": 104.1
  },
  "luminance": 0.63683
}

Semantic roles & 50–950 ramp

primary
#DCD479
secondary
#4A52B0
accent
#2DC61F
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #DCD479

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

Preview Lab → · Contrast checker → · Palette generator →

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