#DCC374#DCC374
#DCC374 is a very light, moderate yellow. Relative luminance 0.555; OKLCH L 82.1% C 0.103 H 92.4°. Best body text is #000000 at 12.10:1 contrast (WCAG AA passes).
Color values
| HEX | #DCC374 |
|---|---|
| RGB | rgb(220, 195, 116) |
| HSL | hsl(46, 60%, 66%) |
| HSV | hsv(46, 47%, 86%) |
| CMYK | cmyk(0%, 11.4%, 47.3%, 13.7%) |
| CIE-LAB | lab(79.33, -1.50, 42.75) |
| CIE-LCH | lch(79.33, 42.77, 92.01°) |
| OKLab | oklab(82.14% -0.0043 0.1029) |
| OKLCH | oklch(82.14% 0.103 92.4) |
| XYZ | xyz(52.1843, 55.5090, 24.4851) |
| Luminance | 0.5551 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 1.88
Tan (survey)
#D1B26F
ΔE00 5.13
Desert
#CCAD60
ΔE00 5.83
Sandy
#F1DA7A
ΔE00 5.94
Sandstone
#C9AE74
ΔE00 6.71
Wheat (survey)
#FBDD7E
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCC374 #748DDC
analogous
#DC8F74 #DCC374 #C1DC74
triadic
#DCC374 #74DCC3 #C374DC
tetradic
#DCC374 #74DC8F #748DDC #DC74C1
square
#DCC374 #74DC8F #748DDC #DC74C1
split-complementary
#DCC374 #74C1DC #8F74DC
monochromatic
#AB8C2B #D0AE43 #DCC374 #E8D8A5 #F5EDD6
Accessibility & contrast
On white
1.74
#DCC374 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.10
#DCC374 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCC374
12.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCC374 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCC374 | 1.00 | 1.74 | 12.10 | 12.10 |
| #FFFFFF | 1.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2C06E
Deuteranopia (green-blind)
#D9C877
Tritanopia (blue-blind)
#EAB8B0
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #dcc374; /* rgb */ color: rgb(220, 195, 116); /* oklch */ color: oklch(82.1% 0.103 92.4);
Tailwind
colors: {
custom: {
50: '#e9d59d',
500: '#dcc374',
950: '#000000',
},
}SCSS
$custom: #dcc374; $custom-light: #e9d59d; $custom-dark: #000000;
JSON
{
"hex": "#dcc374",
"rgb": {
"r": 220,
"g": 195,
"b": 116
},
"hsl": {
"h": 45.577,
"s": 59.77,
"l": 65.882
},
"oklch": {
"l": 0.82139,
"c": 0.10296,
"h": 92.4
},
"luminance": 0.55507
}Semantic roles & 50–950 ramp
primary
#DCC374
secondary
#4760AD
accent
#47C71E
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F