There is one Yoshi for each colour, and the green Yoshi is the team captain.
Each colour variant has its own slightly different stats, so the choice between them is a genuine one rather than cosmetic. Green is the default leader, while the others offer small trade-offs in speed, power and fielding that suit different positions in the batting order.
Mario Super Sluggers builds its teams from a large character pool with distinct attributes, and the Yoshi line is a good example of the design: familiar, readable, and differentiated enough that regular players settle on a favourite. If you are filling out a team, mixing one Yoshi with a strong defensive character usually works better than stacking similar builds.