Why are boogers green?

They aren't always. It depends on what is in the air you are breathing. They are green because all the mucus and dirt that you breath in is forming together so it makes a weird green color.