This is one of those birds that are hard to ID unless you get very close, and good luck with that.
Here I couldn’t even see the legs anyway.
The Lesser Yellow leg is exactly the same, except for a shorter beak. Of course the beak is still long.
The photograph above shows a fairly long bill so I’m going with the ‘Greater’ version.