On the Motor: Black=Hot(Live), Yellow=Return(Neutral), Brown=Cap(Hot), Brown/ White=Cap Return
So Yellow and Black on the Motor go to the 220V supply and the Brown wires go to the cap.
I think the reason you are getting confused is that the Condenser unit shows a three wire fan motor and a dual cap being used. They are using the common terminal of the cap to make further connections.
In your case it appears that Yellow is the L2 Connection, that being the incomming Return or Neutral side of the contactor and the motor yellow wire is also connected at that point. The black wire from the motor is connected to the contactor at the opposite side of the incomming L1 connection where all the other black wires are.
The blue wire you have is meant to go to one side of the thermal click start, shown on your diagram as ST, the yellow goes to the other side of it and joins another at the contactor for the compressor(acroos the contactor from L2, Neutral/ Return).
I'm now wondering if you dumped the dual cap when you replaced the cap with a single one, in whch case you need to get the right one. Inside it there are two capacitors, one for the fan, one for the compressor.