1 year old green poop

My 12 month old has had dark green poo for 2 days now. He hasn’t eaten anything that was leafy or had green colouring. He’s also constipated. We haven’t had this before, anybody else experience this?