yellow onions are the most common variety you should cook with. they have thin layers of white flesh and a tough, brownish-yellow skin. they're very astringent -- astringency is that sharp, almost spicy flavor that onions are known for -- but also have a lot of sugar.