Why did it change colour?
Pick the food. Some colour changes are just chemistry you can watch; one of them is a genuine warning.
What you saw
Bright green to olive
Pigment involved
Chlorophyll
Heat softens the cell walls, acids escape and react with the chlorophyll, turning it olive-brown. Steam or blanch briefly instead of boiling.
Safe?
Cosmetic
What we found
Broccoli boiled for eight minutes went visibly olive; the same broccoli steamed for five stayed bright. A quarter teaspoon of bicarb in the boiling water kept the greens vivid but turned them soft and soapy. Red cabbage cooked in tap water went blue-purple; with a tablespoon of vinegar it stayed red.
Colour in food is chemistry you can watch happening, and every one of these changes has a fix if you know which pigment you are dealing with.
We cooked the same vegetables three ways — boiled, steamed and boiled with a pinch of bicarb — and photographed them side by side on a white board.
The four pigments that matter
| Pigment | Found in | What changes it |
|---|---|---|
| Chlorophyll | Greens, beans, broccoli | Acid turns it olive; heat releases acid |
| Anthocyanin | Red cabbage, berries, beetroot | pH: red in acid, blue in alkaline |
| Carotenoid | Carrot, pumpkin, tomato | Mostly stable; heat can brighten it |
| Betalain | Beetroot | Bleeds in water; breaks down with long heat |
Keeping greens green
Chlorophyll sits inside cells alongside acids. When the cell walls soften in heat, those acids escape and react with the chlorophyll, turning it olive-brown. The longer and hotter the cook, the more of it happens.
Two fixes work: cook fast and briefly, and cook whole or in large pieces so fewer cells are cut open. Steaming and blanching for 90 seconds then plunging into iced water both preserve colour far better than a long boil.
When colour is a warning
Garlic turning blue-green in a jar of pickles is a genuine reaction between sulphur compounds and trace copper, and it is safe to eat. The same colour in raw garlic on a board usually comes from a carbon-steel knife.
But some colour changes are not cosmetic: potatoes turning green are developing solanine and should be peeled or discarded, and a cut avocado turning brown is oxidation, harmless but best slowed with lemon.
Frequently Asked Questions
It does, by neutralising the acids, but it also destroys vitamin C and turns textures to mush. A short blanch does the same job without the downside.