Abstract Environmental degradation has compelled the energy experts to cut down fossil fuel based energy sources. To this end, this study is primarily aimed towards reducing the CO2 emissions from electricity production and also towards a green economic dispatch of the energy units. In our approach we first calculate the GI (Greenness Index) of selected energy sources based on their Life Cycle Assessment (LCA). Following that an optimal dispatch of electricity based on greenness index of the sources and the cost of energy generation is determined. This work could serve as a starting point in power planning, dispatch and management of electricity sources based not only on cost but on their greenness as well. It also provides a framework for practicing a greenness index based Demand Side Management (DSM) by forecasting the GI of the electricity mix.