We investigated current driven spin-orbit torques in Cu40Au60/Ni80Fe20/Ti layered structures with in-plane magnetization. We have demonstrated a reliable and convenient method to separate dampinglike torque and fieldlike torque by using the second harmonic technique. It is found that the dampinglike torque and fieldlike torque depend on temperature very differently. Dampinglike torque increases with temperature, while fieldlike torque decreases with temperature, which are different from results obtained previously in other material systems. We observed a nearly linear dependence between the spin Hall angle and longitudinal resistivity, suggesting that skew scattering may be the dominant mechanism of spin-orbit torques.