Promoting green and low-carbon development with new energy, and resource related sectors is an important way for mankind to deal with global climate change. With the marketization of new energy, the public and regulators have paid extensive attention to market relevance and risk contagion in China. In order to analyze the risk contagion mechanism, this paper examines the dynamic conditional correlation and the volatility spillover effect between crude oil, new energy, and resource related sectors. In addition, we compared the optimal diversification strategy by calculating hedging ratios and portfolio weights. The main results are as follows:First, new energy and resource related sectors have high dynamic correlation and the volatility spillover effect is significant. Second, from the perspective of net spillover index, new energy is the largest net volatility transmitter and WTI is the largest net volatility receiver. Third, when new energy is a long (short) position, the hedging efficiency of the portfolio with new energy vehicles using the hedging ratio strategy is the greatest. And when new energy is long, taking a short position in new energy vehicles is the most effective hedging strategy, but the most expensive hedging strategies are found in resource related sectors.