In one aspect of the present disclosure, there is provided an antireflective coating composition precursor comprising (a) a first part (A) comprising (i) nanoparticles, (ii) a first acid, (iii) polymer particles and (iv) optionally, at least one rheology modifier compound; (b) a second part (B) comprising (i) a second acid, (ii) at least one metal salt and (iii) optionally, at least one rheology modifier compound. In a further aspect of the present disclosure there is provided a method for coating a substrate, comprising the steps comprising the steps (I) providing a substrate having at least one surface; (II) providing the antireflective coating composition as described herein; (III) combining part (A) and part (B) of said antireflective coating composition precursor, thereby obtaining an antireflective coating composition; (IV) coating the substrate on at least one surface with said antireflective coating composition; (V) curing the coating, thereby obtaining a coated substrate.