A green ring around the yolk of a hard boiled egg is a harmless chemical reaction caused by overcooking. To prevent it from forming, avoid overcooking the eggs. Immediately transfer hot cooked eggs to a cold water bath to disburse the heat and stop the eggs from cooking.