As the 18.75 amps (4500/240) is more than 80% of the "normal" ampacity for #12 (20 amps), we/I would install #10 wire. You may be able to use #12 "by the book", but "the book" is minimum!
John


John