tmi 2 week old poop question

Ka
I recently had to switch my son from exclusive breastfeeding to supplement  with formula per the pediatrician because he isn't gaining weight like he should. Today when he pooped it was yellow green  paste like. Is that normal? Up until now during breastfeeding his poop wasn't formed n now it's paste like.