Not all taxiways are equal width, the yellow line is just a guide denoting pavement center relative to the turn radius. If your airframe is a long tube, at some airports your outboard mains could clip an edge light if you were to keep the nose wheels on the line in a turn.