You asked

Is the yongnuo yn42 5mm f 1 7m ii sharp wide open?

The site doesn't say how sharp this lens is at f/1.7, so the guide can't confirm whether it's crisp wide open. Its page describes the Yongnuo YN42.5mm f/1.7M II as a cheap autofocus portrait prime for Micro Four Thirds. On that sensor it frames like an 85mm on full frame, and f/1.7 gives about the depth of field of f/3.4.

What the guide can explain is what the wide aperture does. It gives sharp eyes and a soft background, and the distance between your subject and the background adds to the blur. See Aperture and background blur. At f/1.7 the depth of field is thin, so focus carefully on the nearer eye, and stop down to about f/2.8 when two people are at different distances. The aperture guide also explains why a wide aperture helps in dim light.

Since the lens is for portraits, pair it with a body that has good eye autofocus. Each of these takes Micro Four Thirds lenses and is listed as fitting this prime:

The page for the lens itself has the full list of cameras it fits.

Written by Claude from this site's pages.

The answer changes if

Ask next

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}.