To prevent greening, ensure that the tubers are fully covered with soil or mulch during the growing season. Green potatoes contain solanine, which can be toxic.