It's a totally natural, nontoxic material in our bodies. Our cells produce tens of thousands of different proteins, and basically, all of our food has protein in it.
The green color that forms on the skin is actually chlorophyll which isn't toxic but indicates the presence of the toxin solanine which is a defense mechanism against pests.