It’ll work.300w sounds like a lot what about this one I found on eBay? https://m.ebay.com/itm/180W-LED-Aqu...559224?hash=item3af48682f8:g:-BMAAOSw3ZtaMlEf
IMO. You’ll want one the size of the tank.
Don’t pay attention to watts. (Dimmer) A 16” 165w can fry your 30in tank but only half. If it. Lol.
So a 300w is exactly the same light. Just twice as long.
Sorry I’m not sure how wide the tank is.