The addition of acid encourages the equilibrium towards the right (pH=6), producing more orange colored dichromate (VI) ions. The addition of hydroxide ions causes the concentration of hydrogen ions to decrease, and this brings the equilibrium back to the left-hand side, regenerating yellow chromate (VI) ions.