#DCC477#DCC477

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

Color values

HEX#DCC477
RGBrgb(220, 196, 119)
HSLhsl(46, 59%, 66%)
HSVhsv(46, 46%, 86%)
CMYKcmyk(0%, 10.9%, 45.9%, 13.7%)
CIE-LABlab(79.63, -1.73, 41.61)
CIE-LCHlch(79.63, 41.65, 92.38°)
OKLaboklab(82.39% -0.0047 0.1005)
OKLCHoklch(82.39% 0.101 92.7)
XYZxyz(52.5865, 56.0295, 25.4940)
Luminance0.5603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCC477 #778FDC
analogous
#DC9277 #DCC477 #C1DC77
triadic
#DCC477 #77DCC4 #C477DC
tetradic
#DCC477 #77DC92 #778FDC #DC77C1
square
#DCC477 #77DC92 #778FDC #DC77C1
split-complementary
#DCC477 #77C1DC #9277DC
monochromatic
#AC8E2C #CFAF46 #DCC477 #E9D9A8 #F5EED8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCC477#FFFFFF#000000##000000
##DCC4771.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)
#D3C171
Deuteranopia (green-blind)
#D9C87A
Tritanopia (blue-blind)
#EAB9B1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #dcc477;
/* rgb */ color: rgb(220, 196, 119);
/* oklch */ color: oklch(82.4% 0.101 92.7);
Tailwind
colors: {
  custom: {
    50: '#e9d59f',
    500: '#dcc477',
    950: '#000000',
  },
}
SCSS
$custom: #dcc477;
$custom-light: #e9d59f;
$custom-dark: #000000;
JSON
{
  "hex": "#dcc477",
  "rgb": {
    "r": 220,
    "g": 196,
    "b": 119
  },
  "hsl": {
    "h": 45.743,
    "s": 59.064,
    "l": 66.471
  },
  "oklch": {
    "l": 0.82387,
    "c": 0.10063,
    "h": 92.7
  },
  "luminance": 0.56027
}

Semantic roles & 50–950 ramp

primary
#DCC477
secondary
#4861AF
accent
#47C71F
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140F
muted
#858380

Preview Lab

Preview with #DCC477

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

Preview Lab → · Contrast checker → · Palette generator →

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