What kind of flavor. Ther are many varieties of "yellow" onions ranging from sweet ones you can eat like an apple to so pungent that looking at them will make you cry. My first thought would be variety. Soil conditions also affect pungency but not to the level of variety.