#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 |
|---|---|
| RGB | rgb(220, 196, 119) |
| HSL | hsl(46, 59%, 66%) |
| HSV | hsv(46, 46%, 86%) |
| CMYK | cmyk(0%, 10.9%, 45.9%, 13.7%) |
| CIE-LAB | lab(79.63, -1.73, 41.61) |
| CIE-LCH | lch(79.63, 41.65, 92.38°) |
| OKLab | oklab(82.39% -0.0047 0.1005) |
| OKLCH | oklch(82.39% 0.101 92.7) |
| XYZ | xyz(52.5865, 56.0295, 25.4940) |
| Luminance | 0.5603 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 1.84
Tan (survey)
#D1B26F
ΔE00 5.28
Sandy
#F1DA7A
ΔE00 5.87
Desert
#CCAD60
ΔE00 6.11
Wheat (survey)
#FBDD7E
ΔE00 6.69
Sandstone
#C9AE74
ΔE00 6.75
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 |
|---|---|---|---|---|
| ##DCC477 | 1.00 | 1.72 | 12.21 | 12.21 |
| #FFFFFF | 1.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.21 | 21.00 | 1.00 | 1.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