I've been running acetylation reactions with acetic anhydride using pyridine as the base with with either DMAP or n-methylimidazole as catalysts (or acetic anhydride and TEA with no catalyst). The unsaturated alcohol standard I'm acetylating is in toluene. Upon heating (or with enough time), the solutions are turning dark yellow or red. This colored component sticks around as a large amount of an organic-soluble oily residue.
I know TEA can turn yellow due to the presence of "N-oxides". Is that what's happening here? Am I forming some sort of oxidized byproduct? I've also been having loss of my alcohol during this reaction, might I be somehow oxidizing my double bond? I've seen papers researching acetylation prep their reagents to remove olefins - is this why?