
If you’ve ever cracked open a hard-boiled egg to find a greenish yolk, don’t worry—it’s not dangerous, just the result of overcooking. The green color comes from a chemical reaction between sulfur compounds in the egg whites and iron in the yolk, forming ferrous sulfide when exposed to high heat for too long. While the appearance may be off-putting, these eggs are safe to eat.
To avoid green yolks, be mindful of your cooking method. Boil eggs gently, simmering them rather than boiling them vigorously. Once they’re done, quickly cool them in an ice bath to halt the cooking process. High temperatures are the enemy here, so slow and steady is the key to perfect yolks.
Ideally, a well-cooked hard-boiled egg should have a sunny yellow yolk, indicating the right balance of time and temperature. If you do end up with green yolks, don’t toss them! They can still be used creatively, like mashing them into avocado toast for a fun twist.