Proper storage matters, too. Refrigerate hard-boiled eggs within two hours of cooking and keep them chilled until ready to eat. They can generally be stored in the refrigerator for up to one week.
Ultimately, a green ring around a hard-boiled egg is usually nothing to worry about. With suitable cooking times, quick cooling, and proper storage, you can enjoy delicious eggs with firm whites and beautifully yellow yolks.