Aniline is treated with sodium nitrite and hydrochloric acid at 273 to 278 K. The cold solution is then added to a solution of aniline in weak acid. A yellow solid forms, which on warming with aniline hydrochloride is rearranged to the dye called aniline yellow. The dye is