Ghana and the Ivory Coast –- which produce more than half of the global cocoa supply –- could take a major hit by 2050.

Currently, the optimal locations to grow the crop are about 330 feet to 820 feet above sea level, with temperatures of about 72 degrees Fahrenheit to 77 degrees. That range will soar to 1,500 feet to 1,640 feet in four decades to compensate for hotter weather.

Cocoa production, which reached about $9 billion from 2008 to 2009 and accounts for 7.5% of the Ivory Coast’s gross domestic product and 3.4% of Ghana’s, could be in for a heavy slide.