Yes, yellow, green and blue large wires are the motor phase wires.
The small wires going into the black connector are:
Red = 5 volts
Black = 0 volts
Blue, Yellow, Green = hall sensor outputs from motor
White = Speed or Temperature sensor output from motor