Assuming 100amps for a 3' run (to allow for routing) #10 would be fine. I'd probably use #8 to get the volt drop even lower, but would be comfortable with #10 if it was already there.
For reference, #12 would reduce the voltage to the battery by 0.5v.