Wax,
I'm not sure what you are looking at. If the relay, black and white is probably 120v AC power, green wires are grounded wires, so that leaves red and yellow as 24 VDC. The colors may have been different years ago, but I would think red is DC + and yellow is DC -. Do you have 24...