The oxygen evolution reaction (OER) is a thermodynamically and kinetically demanding process, therefore it requires the use of catalysts enabling to meet technologically relevant conditions. Here, we realized efficient OER catalysts fabricated using relatively cheap precursors consisting of earth-abundant metal oxides, i.e. nickel, iron, and chromium, and a simple one-step preparation method. It is shown that the catalyst is activated by anodic polarization under irradiation with visible light, which allows decreasing the overpotential necessary for the OER.