For a 30 ohm output, yellow is the 'hot' output, and should eventually end up at XLR pin 2. White is cold, and goes to pin 3.
The green wire should not be grounded, but this sometimes happens by accident if the plug uses one of the pins for ground. The result is a high impedance path to ground from the output, which can act as a filter and give a weak output and weird frequency response.
Update May 2021
One reader reported that his microphone was reverse polarity after following this wiring diagram.
It is always a good idea to check polarity after any repair or modification. The polarity can be corrected by simply swapping over the two transformer output wires.