Your morning coffee is mostly free from harmful levels of toxins and contaminants, but a new investigation shows there's room for improvement.

"While some contaminants were present, most were found at minimal levels and well below the European Union's safety limits per 6-ounce serving. This means coffee is generally safe," Molly Hamilton, executive director of the nonprofit Clean Label Project, which led the testing, told CNN.

Research has linked drinking about 3 cups of black coffee a day to a lower risk of heart disease, type 2 diabetes, liver disease, stroke, dementia and more.

The Clean Label Project analyzed coffee from 45 popular brands grown in Brazil, Colombia, Costa Rica, Ethiopia, Guatemala, Kenya, Peru and Hawaii. More than 7,000 tests were run for pesticides, heavy metals, plasticizers and mold toxins.

Related