I'm pretty sure it's 12v as most riding mowers are. Sometimes it says it on the battery, or you can measure the battery with a voltmeter/multimeter.
Also make sure that the light bar can tolerate a bit more than 12v. When the mower is running, the voltage can go above 14v. I replaced the headlamps with LED bulbs on my mower two summers ago and most LEDs are now burned out and the individual LEDs have fallen off.