#DCC673#DCC673
#DCC673 is a very light, moderate yellow. Relative luminance 0.568; OKLCH L 82.7% C 0.106 H 95.0°. Best body text is #000000 at 12.37:1 contrast (WCAG AA passes).
Color values
| HEX | #DCC673 |
|---|---|
| RGB | rgb(220, 198, 115) |
| HSL | hsl(47, 60%, 66%) |
| HSV | hsv(47, 48%, 86%) |
| CMYK | cmyk(0%, 10%, 47.7%, 13.7%) |
| CIE-LAB | lab(80.09, -3.15, 44.18) |
| CIE-LCH | lch(80.09, 44.30, 94.08°) |
| OKLab | oklab(82.73% -0.0092 0.106) |
| OKLCH | oklch(82.73% 0.106 95) |
| XYZ | xyz(52.8054, 56.8437, 24.4067) |
| Luminance | 0.5684 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 1.21
Sandy
#F1DA7A
ΔE00 5.05
Wheat (survey)
#FBDD7E
ΔE00 6.20
Tan (survey)
#D1B26F
ΔE00 6.35
Light Mustard
#F7D560
ΔE00 6.58
Darkkhaki
#BDB76B
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DCC673 #7389DC
analogous
#DC9173 #DCC673 #BDDC73
triadic
#DCC673 #73DCC6 #C673DC
tetradic
#DCC673 #73DC91 #7389DC #DC73BD
square
#DCC673 #73DC91 #7389DC #DC73BD
split-complementary
#DCC673 #73BDDC #9173DC
monochromatic
#AA8F2B #D0B242 #DCC673 #E8DAA4 #F4EED5
Accessibility & contrast
On white
1.70
#DCC673 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.37
#DCC673 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DCC673
12.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DCC673 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DCC673 | 1.00 | 1.70 | 12.37 | 12.37 |
| #FFFFFF | 1.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5C36C
Deuteranopia (green-blind)
#DBCA76
Tritanopia (blue-blind)
#EABBB2
Achromatopsia (no color)
#C7C7C7
Design tokens & code
CSS
--color: #dcc673; /* rgb */ color: rgb(220, 198, 115); /* oklch */ color: oklch(82.7% 0.106 95.0);
Tailwind
colors: {
custom: {
50: '#e9d79d',
500: '#dcc673',
950: '#000000',
},
}SCSS
$custom: #dcc673; $custom-light: #e9d79d; $custom-dark: #000000;
JSON
{
"hex": "#dcc673",
"rgb": {
"r": 220,
"g": 198,
"b": 115
},
"hsl": {
"h": 47.429,
"s": 60,
"l": 65.686
},
"oklch": {
"l": 0.82733,
"c": 0.10641,
"h": 95
},
"luminance": 0.56842
}Semantic roles & 50–950 ramp
primary
#DCC673
secondary
#475CAD
accent
#41C81E
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#16140E
muted
#85837F