No energy is green. Not a single energy source does not require some mining / oil extracting at some point. We have to choose the solution which impact as little as possible the environment on global scale.
Beware of the Nirvana Fallacy! https://en.wikipedia.org/wiki/Nirvana_fallacy