hy is my poop green for

I've had green poo for 2 days

Have you been to your drs. I would go as soon as possible to be checked out 

Have you eaten any green vegetables that may not have been digested properly? Are you on any medication that is green or has a green casing?  Try a food diary for a week to see if any green foods are appearing in your stool.  Since you have only had symptoms for two days, it may be something as simple as food or medication. If your symptoms go on longer than a week, see your doctor.