There also wind... But solar already provides quite a substantial contribution in Germany. See this live chart: https://www.energy-charts.de/power.htm.
Considering the rate at which solar power is getting cheaper, I'd say a solar power based economy is within reach.