Controlling a 5v relay, only getting 2.4v?

don't forget diode, double check transistor connection or change an other type one.