All carbohydrates, proteins, and fats, when eaten in large amounts will contribute to weight gain, even the healthy ones.
*All the foods listed in this blog are my favorite options, these are not all of your options.
Typical macronutrient recommendations are as follows:
Carbs: 45–65% of total calories
Fats: 20–35% of total calories
Proteins: 10–35% of total calories
https://www.ncbi.nlm.nih.gov/pubmed/16004827
*Keep in mind that these recommendations may not fit your specific needs.