#DCC478#DCC478

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

Color values

HEX#DCC478
RGBrgb(220, 196, 120)
HSLhsl(46, 59%, 67%)
HSVhsv(46, 45%, 86%)
CMYKcmyk(0%, 10.9%, 45.5%, 13.7%)
CIE-LABlab(79.64, -1.63, 41.12)
CIE-LCHlch(79.64, 41.16, 92.27°)
OKLaboklab(82.4% -0.0043 0.0995)
OKLCHoklch(82.4% 0.1 92.5)
XYZxyz(52.6468, 56.0537, 25.8119)
Luminance0.5605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC478 #7890DC
analogous
#DC9278 #DCC478 #C2DC78
triadic
#DCC478 #78DCC4 #C478DC
tetradic
#DCC478 #78DC92 #7890DC #DC78C2
square
#DCC478 #78DC92 #7890DC #DC78C2
split-complementary
#DCC478 #78C2DC #9278DC
monochromatic
#AD8E2D #CFAF47 #DCC478 #E9D9A9 #F5EED9

Accessibility & contrast

On white

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

On black

12.21
#DCC478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCC478
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCC478#FFFFFF#000000##000000
##DCC4781.001.7212.2112.21
#FFFFFF1.721.0021.0021.00
#00000012.2121.001.001.00
##00000012.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C172
Deuteranopia (green-blind)
#D9C87B
Tritanopia (blue-blind)
#EAB9B1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #dcc478;
/* rgb */ color: rgb(220, 196, 120);
/* oklch */ color: oklch(82.4% 0.100 92.5);
Tailwind
colors: {
  custom: {
    50: '#e9d5a0',
    500: '#dcc478',
    950: '#000000',
  },
}
SCSS
$custom: #dcc478;
$custom-light: #e9d5a0;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc478",
  "rgb": {
    "r": 220,
    "g": 196,
    "b": 120
  },
  "hsl": {
    "h": 45.6,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.82402,
    "c": 0.09958,
    "h": 92.5
  },
  "luminance": 0.56052
}

Semantic roles & 50–950 ramp

primary
#DCC478
secondary
#4962AF
accent
#47C61F
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140F
muted
#848380

Preview Lab

Preview with #DCC478

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

Preview Lab → · Contrast checker → · Palette generator →

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