Costa Rica was ranked 42nd in the world, and third in the Americas, in the 2016 Environmental Performance Index.