We use very little oil to generate electricity. We use a lot of NG though, which can be conflated.
The EIA shows solar making a large increment by 2050, NG will still be around. I think I read solar doesn't do much at night though.
With some thought, we could replace coal with nuclear, but that would require actual thought.