#DCC474#DCC474
#DCC474 is a very light, moderate yellow. Relative luminance 0.560; OKLCH L 82.3% C 0.104 H 93.2°. Best body text is #000000 at 12.19:1 contrast (WCAG AA passes).
Color values
| HEX | #DCC474 |
|---|---|
| RGB | rgb(220, 196, 116) |
| HSL | hsl(46, 60%, 66%) |
| HSV | hsv(46, 47%, 86%) |
| CMYK | cmyk(0%, 10.9%, 47.3%, 13.7%) |
| CIE-LAB | lab(79.59, -2.02, 43.07) |
| CIE-LCH | lch(79.59, 43.11, 92.68°) |
| OKLab | oklab(82.34% -0.0058 0.1036) |
| OKLCH | oklch(82.34% 0.104 93.2) |
| XYZ | xyz(52.4091, 55.9586, 24.5601) |
| Luminance | 0.5596 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 1.58
Tan (survey)
#D1B26F
ΔE00 5.51
Sandy
#F1DA7A
ΔE00 5.64
Desert
#CCAD60
ΔE00 6.14
Wheat (survey)
#FBDD7E
ΔE00 6.53
Darkkhaki
#BDB76B
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCC474 #748CDC
analogous
#DC9074 #DCC474 #C0DC74
triadic
#DCC474 #74DCC4 #C474DC
tetradic
#DCC474 #74DC90 #748CDC #DC74C0
square
#DCC474 #74DC90 #748CDC #DC74C0
split-complementary
#DCC474 #74C0DC #9074DC
monochromatic
#AB8D2B #D0AF43 #DCC474 #E8D9A5 #F5EED6
Accessibility & contrast
On white
1.72
#DCC474 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.19
#DCC474 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCC474
12.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCC474 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCC474 | 1.00 | 1.72 | 12.19 | 12.19 |
| #FFFFFF | 1.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3C16D
Deuteranopia (green-blind)
#DAC877
Tritanopia (blue-blind)
#EAB9B1
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #dcc474; /* rgb */ color: rgb(220, 196, 116); /* oklch */ color: oklch(82.3% 0.104 93.2);
Tailwind
colors: {
custom: {
50: '#e9d59d',
500: '#dcc474',
950: '#000000',
},
}SCSS
$custom: #dcc474; $custom-light: #e9d59d; $custom-dark: #000000;
JSON
{
"hex": "#dcc474",
"rgb": {
"r": 220,
"g": 196,
"b": 116
},
"hsl": {
"h": 46.154,
"s": 59.77,
"l": 65.882
},
"oklch": {
"l": 0.82342,
"c": 0.10374,
"h": 93.2
},
"luminance": 0.55956
}Semantic roles & 50–950 ramp
primary
#DCC474
secondary
#475FAD
accent
#45C71E
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F