A method for fabricating an optoelectronic component for converting electromagnetic radiation into an intensity-dependent photocurrent comprising a substrate formed in CMOS technology, with an integrated semiconductor structure and an optically active thin-film structure arranged upstream in the direction of light incidence and comprising at least one layer made of doped and at least one layer made of undoped semiconductor material, which is connected to a microelectronic circuit arranged on the substrate by means of an insulating layer, within which are situated connecting means for contact-connecting the optically active thin-film structure to the semiconductor structure, wherein the optically active thin-film structure is applied to the planarized insulating layer, wherein the thin-film structure has a layer sequence made of a plurality of metal electrodes and an intrinsically conducting layer that contacts the plurality of metal electrodes, made of amorphous or microcrystalline semiconductor material, such as silicon or alloys thereof, and further comprising an extrinsically conducting layer that contacts the intrinsically conducting layer and a conductive transparent layer disposed on the layer sequence.