Greater Yellowlegs
Tringa melanoleuca
The greater yellowlegs is similar in appearance to the smaller lesser yellowlegs. Its closest relative, however, is the greenshank, which together with the spotted redshank form a close-knit group. Among them, these three species show all the basic leg and foot colours found in the shanks, demonstrating that this character is paraphyletic. They are also the largest shanks apart from the willet, which is altogether more robustly built.
ID text from Wikipedia, CC BY-SA 4.0

Lesser Yellowlegs
Tringa flavipes
The lesser yellowlegs is a medium-large shorebird, 23–25 cm (9.1–9.8 in) in overall length and with a wingspan of 59–64 cm (23–25 in) and a weight of 67–94 g (2.4–3.3 oz). The sexes are similar both in plumage and in overall size. In breeding plumage, the upperparts are mottled with gray-brown, black and white. The underparts are white with irregular brown streaking on the breast and neck. In non-breeding plumage, the upperparts are more uniform gray-brown. The legs are yellow.
ID text from Wikipedia, CC BY-SA 4.0

Where you might meet both
And 33 more countries.
Learn this pair in the BeakBrain App
Photo and call practice. Coming soon to iPhone and Android.
Play today's Daily BirdPhotos and recordings are credited to their authors under the licence shown. Full profiles: Greater Yellowlegs and Lesser Yellowlegs.