This paper examines the time and frequency dynamics of connectedness between oil price shocks (demand and supply), and energy, electricity, carbon and clean energy markets using the methodology developed by Diebold and Yilmaz (2012) and Barunik and Krehlik (2018). The empirical findings show that there is time-varying connectedness among all variables in the sample. We find increased connectedness during the global financial crisis as well as in the shale oil revolution period. The total connectedness is more significant and higher in the short-term compared to the long-term. Net pairwise directional connectedness become more important during the shale oil revolution among oil supply, oil demand and clean energy index. The findings of the static full sample and sub-samples (GFC and SOR) provide significant evidence of the electricity futures as diversifier and safe-haven asset for oil shocks. These results can have important implications for investors and policymakers with different time horizons.