The green ring around the yolk of a hard cooked egg happens because
hydrogen in the egg white combines with sulfur in the yolk. The cause is most often related to boiling the eggs too hard for too long. The green ring can also be caused by a high amount of iron in the cooking water.