X Carve Y stepper wire colors

Hi Guys

I have to wire in 2 new steppers for my Y axis, colors I have on the new steppers are different to what i have.

Can someone please tell me what the outputs of the old x controller represent so i can match up new new steppers to the right wires please

wire colors are black green red and white on the stock wiring.

new steppers are RED A+ GREEN A- YELLOW B+ BLUE B-