Cabbage White butterfly

Larvae are green.

An excerpt from the article 12 facts about Cabbage White butterfly
After the first stage, a yellow line running along the center of the back appears. A series of yellow spots emerge on each side, sometimes looking more like a dashed than a dotted line.