#DCC479#DCC479

#DCC479 is a very light, moderate yellow. Relative luminance 0.561; OKLCH L 82.4% C 0.099 H 92.3°. Best body text is #000000 at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#DCC479
RGBrgb(220, 196, 121)
HSLhsl(45, 59%, 67%)
HSVhsv(45, 45%, 86%)
CMYKcmyk(0%, 10.9%, 45%, 13.7%)
CIE-LABlab(79.66, -1.53, 40.64)
CIE-LCHlch(79.66, 40.67, 92.16°)
OKLaboklab(82.42% -0.0039 0.0985)
OKLCHoklch(82.42% 0.099 92.3)
XYZxyz(52.7078, 56.0781, 26.1332)
Luminance0.5608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC479 #7991DC
analogous
#DC9379 #DCC479 #C2DC79
triadic
#DCC479 #79DCC4 #C479DC
tetradic
#DCC479 #79DC93 #7991DC #DC79C2
square
#DCC479 #79DC93 #7991DC #DC79C2
split-complementary
#DCC479 #79C2DC #9379DC
monochromatic
#AD8E2D #CFAF48 #DCC479 #E9D9AA #F5EFDA

Accessibility & contrast

On white

1.72
#DCC479 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.22
#DCC479 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC479
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC479#FFFFFF#000000##000000
##DCC4791.001.7212.2212.22
#FFFFFF1.721.0021.0021.00
#00000012.2221.001.001.00
##00000012.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C173
Deuteranopia (green-blind)
#D9C87C
Tritanopia (blue-blind)
#EAB9B2
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #dcc479;
/* rgb */ color: rgb(220, 196, 121);
/* oklch */ color: oklch(82.4% 0.099 92.3);
Tailwind
colors: {
  custom: {
    50: '#e8d5a1',
    500: '#dcc479',
    950: '#000000',
  },
}
SCSS
$custom: #dcc479;
$custom-light: #e8d5a1;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc479",
  "rgb": {
    "r": 220,
    "g": 196,
    "b": 121
  },
  "hsl": {
    "h": 45.455,
    "s": 58.58,
    "l": 66.863
  },
  "oklch": {
    "l": 0.82417,
    "c": 0.09853,
    "h": 92.3
  },
  "luminance": 0.56076
}

Semantic roles & 50–950 ramp

primary
#DCC479
secondary
#4A62B0
accent
#48C61F
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140F
muted
#848380

Preview Lab

Preview with #DCC479

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

Preview Lab → · Contrast checker → · Palette generator →

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