The jockey wearing a yellow hat edges out the jockey wearing blue .