#DCC671#DCC671
#DCC671 is a very light, moderate yellow. Relative luminance 0.568; OKLCH L 82.7% C 0.108 H 95.3°. Best body text is #000000 at 12.36:1 contrast (WCAG AA passes).
Color values
| HEX | #DCC671 |
|---|---|
| RGB | rgb(220, 198, 113) |
| HSL | hsl(48, 60%, 65%) |
| HSV | hsv(48, 49%, 86%) |
| CMYK | cmyk(0%, 10%, 48.6%, 13.7%) |
| CIE-LAB | lab(80.07, -3.33, 45.14) |
| CIE-LCH | lch(80.07, 45.27, 94.22°) |
| OKLab | oklab(82.71% -0.0099 0.108) |
| OKLCH | oklch(82.71% 0.108 95.3) |
| XYZ | xyz(52.6916, 56.7982, 23.8072) |
| Luminance | 0.5680 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 1.25
Sandy
#F1DA7A
ΔE00 4.95
Wheat (survey)
#FBDD7E
ΔE00 6.15
Light Mustard
#F7D560
ΔE00 6.39
Tan (survey)
#D1B26F
ΔE00 6.52
Maize
#F4D054
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCC671 #7187DC
analogous
#DC9171 #DCC671 #BCDC71
triadic
#DCC671 #71DCC6 #C671DC
tetradic
#DCC671 #71DC91 #7187DC #DC71BC
square
#DCC671 #71DC91 #7187DC #DC71BC
split-complementary
#DCC671 #71BCDC #9171DC
monochromatic
#A98F2A #D0B240 #DCC671 #E8DAA2 #F4EDD3
Accessibility & contrast
On white
1.70
#DCC671 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.36
#DCC671 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCC671
12.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCC671 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCC671 | 1.00 | 1.70 | 12.36 | 12.36 |
| #FFFFFF | 1.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6C26A
Deuteranopia (green-blind)
#DBCA74
Tritanopia (blue-blind)
#EABAB2
Achromatopsia (no color)
#C7C7C7
Design tokens & code
CSS
--color: #dcc671; /* rgb */ color: rgb(220, 198, 113); /* oklch */ color: oklch(82.7% 0.108 95.3);
Tailwind
colors: {
custom: {
50: '#e9d79b',
500: '#dcc671',
950: '#000000',
},
}SCSS
$custom: #dcc671; $custom-light: #e9d79b; $custom-dark: #000000;
JSON
{
"hex": "#dcc671",
"rgb": {
"r": 220,
"g": 198,
"b": 113
},
"hsl": {
"h": 47.664,
"s": 60.452,
"l": 65.294
},
"oklch": {
"l": 0.82705,
"c": 0.10846,
"h": 95.3
},
"luminance": 0.56796
}Semantic roles & 50–950 ramp
primary
#DCC671
secondary
#465BAC
accent
#40C81D
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F