When chlorophyll is in the presence of acidic molecules (compounds that easily share their hydrogen atom), the magnesium is dislodged and replaced by hydrogen atoms. This simple structural change alters the colour of chlorophyll from light green to yellowish green. -hope this helps!