You asked

Which lens for portraits on the nikon d5?

For portraits on the Nikon D5, the guide points to the 85mm range. The D5 is full frame, so an 85mm lens frames exactly as marked. A lens that opens to f/1.8 or wider gives a soft background and a flattering perspective on a face. Light still matters more than the lens, though: the guide's light beats gear advice applies, and the portraits page covers it in more detail.

Three D5 lenses suit this job:

The D5 has no stabilisation in the body, so a lens with VR only helps at slow shutter speeds. For portraits, a fast shutter and good light matter more.

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