This study explores the relationship between economic growth and CO2 emissions in the so-called European Union 5 (EU-5) countries (Germany, France, Italy, Spain, and the United Kingdom) for the 1985-2016 period. In doing so, we employ a carbon emission function to investigate the environmental Kuznets curve phenomenon, which describes a relationship between economic growth and environmental degradation. The empirical results confirm the existence of an N-shaped relationship between economic growth and CO2 emissions in the EU-5 countries. We incorporate additional variables such as renewable electricity consumption, trade openness, natural resource abundance, and energy innovation to augment the carbon emission function. Renewable electricity consumption, natural resources, and energy innovation improve environmental quality, while trade openness and the interaction between economic growth and renewable electricity consumption exert a positive impact on CO2 emissions. This study is novel in that it presents an interaction between economic growth and renewable electricity consumption. We also confirm the need for renewable energy regulations related to increasing renewable sources and promoting energy innovation to reduce the negative effects of energy and fossil energy resources on environmental degradation.