The invention relates to a compact lighting system with LEDs for use in the automotive industry and, in particular, for signaling the rear of agricultural machinery. The system according to the invention comprises a housing (2), lighting electric components (3a, 3b), a lens (4), fastening elements (5) and a protective optical element (6) which covers the fastening elements (5) of the lighting system on the vehicle body, the lens (4) and the housing (2) being provided with corresponding openings (9, 19a and 9b, 19b), at least two of them, and with suitable configurations to allow the positioning of the fastening elements (5) in the central area of the lighting system (1); and the lens (4) has a frontal surface (16), comprising a central recessed area (18) wherein said orifices (19a, f 9b) are being arranged, which continue with some tubular elements (20, 21) oriented inwards the lighting system, and which extend and fit into the corresponding holes (9a, 9b), when assembling the lens (4) and the housing (2).