You asked
Which longer lens fits the fujifilm x h2 for portraits in dim light?
For dim-light portraits on the Fujifilm X-H2, the best longer lens is the Fujifilm XF 50-140mm f/2.8 R LM OIS WR. It frames like 75-210mm on full frame, which is good portrait reach, and its constant f/2.8 gathers much more light than the slower telephotos on this camera. Being a zoom, it lets you adjust framing without moving closer to your subject.
The Sigma 50-120mm f/2.8 DC OS Contemporary has the same brightness with a shorter reach (75-180mm equivalent). It suits you if you shoot in smaller rooms or want a shorter portrait distance.
If you'd rather have a prime, the Fujifilm XF 33mm f/1.4 R LM WR frames like 50mm and is the brightest choice here. It gives a classic, shallow-focus portrait look in a small package. The trade-off is that you move your feet to frame, and you lose the zoom's flexibility. The Viltrox AF 33mm f/1.4 is a similar-spec alternative.
In dim light, aperture matters more than stabilisation. The X-H2's in-body stabilisation steadies the camera, which helps with still sitters at slow shutter speeds, but it can't freeze a moving subject. Fast glass does that job, so a f/1.4 or f/2.8 lens will serve you better than a slower one even with stabilisation.
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}.