Yellow onions are the best kind of onions to use for French onion soup. They caramelize the best and provide the best flavour. You can use white onions if they’re all you have on hand, just keep in mind that the flavour will be slightly different.