Sounds to me like you have a coccidia infection that has allowed a respiratory infection to set in. The yellow in the poop is the urates, they should be white. Often the yellow urates are the first sign of an infection so keep an eye on your pen floor. It means mean food intake is down.
Here is what i use for peafowl and turkeys.
Powdered Tylan in the water of the entire flock if one bird shows signs of illness. Dosage is 1 teaspoon per gallon. Mix a fresh batch each day. Treat for five days.
A bird who already shows "droop" and depression will not drink enough on its own to recover. It is already dehydrated. You can go ahead and cull or try to treat if you are willing to get hands on. To treat a sick adult size peafowl with ORAL administration of Tylan, you will need:
Nylon Feeding Syringe with long bent arm (I use a 30ml)
http://www.jefferspet.com/feeding-syringes/camid/LIV/cp/0026479/cn/31070/
You need long armed syringe such as this because you have to open the bird's mouth and insert it about 2 inched down the throat. This way you are sure to bypass the airway, which is a hole under the tongue.
EITHER Powdered Tylan or Tylan 200.
3ml 22ga. .75" syringes with needle if you are using the Tylan 200 because you have to draw it out of the bottle.
Separate the sick bird from the flock. Using the syringe, give the following 3 TIMES DAILY for 7 days:
Dosage Orally:
30 ml of the Tylan powder mixed with water solution (mix rate is 1 teaspoon/gallon) 3 times a day.
OR
Tylan 200 - 35mg/kg of the bird's weight mixed with enough water to make 30ml of fluid 3 times a day.
If you type lb to kg into google.com it will give you a calculator to convert pounds to kilograms. FOR EXAMPLE -
If you have a 1.3 kg bird and you want to know how much tylan to give it at a dose of 35 mg/kg. You know that you need to multiply 35 mg x 1.3 as this is the weight (in kg) of the bird. This tells you that your bird needs (35mg/kg x 1.3kg = 45.5 mg). Now you know how many mg you bird needs, but how much tylan is that? Well, if there's 200 mg/ml in tylan 200, divide 45.5 mg by 200 mg/ml into to tell you how many ml you need. 45.5 mg / 200 mg/ml = .2275 ml which is 0.23 ml. A 3 ml syringe looks like this http://www.choa.org/Menus/Documents/Wellness/teachingsheets/medicine3ccsyringe.pdf each small line is .1 ml. so in this calculation you would need to draw .23 (just over 2 lines out of the tylan bottle)
Feeding: leave food and water available at all times (the medicated water if you are using the tylan power solution). I tell you that you can increase the likelihood of survival by mixing enough water with feed granules that you can mold little wet feed balls and opening the bird's mouth, placing behind the tongue and gently pushing down the throat with your finger. You can use your fingers to work them all the way down to the crop. Do this a few times a day, enough to fill half the crop. Again, be sure to avoid the airway under the tongue. If you absolutely cannot find the long arm syringe, mix the appropriate medicine dosage with the food to administer in balls.
Coccidia is all around in the soil. I feed a medicated game bird feed now to prevent this.
I have never used it, but this product is also labeled for coccidia in gamebirds.
http://www.jefferspet.com/di-methox-soluble/camid/LIV/cp/A2-DA/
Hope this helps. Good luck.