Identify the substances based on the information given below and choose the correct option:
The pale green solid R turns reddish brown on heating. Its aqueous solution gives a white precipitate with barium chloride solution. The precipitate is insoluble in mineral acids.