Summary:
At equilibrium position: Kinetic Energy = ½ mv2 Elastic Potential Energy = 0 Total Energy = ½kx2
At maximum extension/compression: Kinetic Energy = 0 Elastic Potential Energy = ½kx2 Total Energy = ½kx2