Passing through yellow is fine, providing that you don't go too slowly after immediately crossing the line.