Yes, then you need a logic level n-channel MOSFET, e.g. the IRL504.
Drain to the coil; source to GND; 10k pull-down resistor between gate and GND, small resistor (100 Ohm or so) between gate and Arduino pin. No need for optocoupler.
Shouldn't be producing any heat that way.