I replied “yes” but much more about the build than the height.
The human brain usually only needs a glance to make an initial determination if the person they are looking at is a male or a female. Nothing to do with makeup or jewelry or even the clothes that person may be wearing.
It is mostly about the body shape. Height may be secondary at that time. As species, we identify somebody who has hips and shoulders which are wider than their waist as a female. The closer the waist is to 2/3rds of the width of the hips/shoulders, the “automatic gender identification” will be completed.
Of course there will be other factors. But this one is going to take place even if the individual is 100 yards away, or if they suddenly appear when we turn a corner. The closer they are when we first see them, the more clues we will get, and then the identification will be based in more stereotypical factors… facial hair? Long hair? Softer angles/more curves? Breasts or not? Makeup? Etc.
and finally at some point, voice, mannerisms, movement, etc. and if you have been labeled a female, even if your voice is not “perfect” you will remain female on their perception, unless you are indeed talking 100% like a guy, but in what you say and how you say it.
Just test this next time out watching people.