A lighting assembly (100), a lamp, a luminaire, a manufacturing method and a manufacturing control program are provided. The lighting assembly comprises a light source (110) and an optical element (120). The light source comprises a solid state light emitter (112) and a luminescent element (114). The solid state light emitter is arranged to emit light of a first color into the luminescent element. The luminescent element comprises a light emission window (115) through which the light is emitted. The optical element is arranged for reducing a color over angle variation of the light emitted by the light emission window of the luminescent element. The optical element comprises a light input face, a light output face and at a plurality of locations a light transmitting wall (122) extending from the light input face to the light output face.