You asked

Which 35mm lens is better for a panasonic lumix s5 in dim light?

For dim light, the guide's pick is the Sigma 35mm f/1.2 DG DN Art on the Panasonic Lumix S5. An f/1.2 lens gathers roughly four times the light of an f/2.4 lens, which gives you faster shutter speeds at the same ISO and shallower backgrounds. The trade-off is size and weight. It's a big lens for a 35mm, and it costs more than the others here.

If you want a little less bulk, the Sigma 35mm f/1.4 DG DN Art gives up a third of a stop of light and is a sensible middle ground. The guide also lists the Panasonic Lumix S 35mm f/1.8, made for this mount. It's the lightest of the three and pairs naturally with the S5, but at f/1.8 it collects noticeably less light than the Sigmas, so it suits moderately dim scenes better than candlelit ones.

The aperture guide explains why these differences matter: f/1.8 lets in about ten times the light of f/5.6, and wide apertures are what buy you speed in dim rooms. Stabilisation is a different matter. The S5 has it in the body, which steadies the camera and helps with still subjects, but it can't freeze a moving person. For that, the wider aperture is what counts.

Which one fits depends on whether you're carrying it all day or shooting mostly indoors.

Written by Claude from this site's pages.

From these pages

This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.