Usually the secondary's are wound last, so these may be identified that way, most likely the green and the yellow for sure.
Primary white black red could be 0-120-240.
The first thing to do is to take a resistance reading of all winding and find out which are common to each other.
For example, if I am right on the W.B.R. then they would all show continuity between each.
If for example there were 2 ohms between white and Black and 2 ohms between black and red, and 4 ohms between white and red, then the 240v would be across these two and 120 across either of the other pair.
The brown, not sure, again a resistance value may enlighten.