Robert Bailey wrote:
Oh, yes- the Nikon 18-140mm also suffers from chromatic aberration-
you get noticeable "colour fringing" around the outside of objects.
Green or purple seem to be the most common colours.
Okay, so if not the 18-140mm, what's the "best" Nikon "walk-around", mid-range zoom for image quality with similar or less range?
I think that's what the original poster is asking, but few responses are actually addressing.
I know some answers for Canon, just not for Nikon.
I agree with Scott, for macro photography a quality macro lens would be the very best solution. There are lots of those worth consideration, ranging from a fairly compact 60mm (which may put you too close at high magnification with some subjects), to 85, 90, 100 or 105mm.
There are also many excellent vintage macro lenses in these focal lengths that would be manual focus only, though that's not too big a deal for macro photography and might work well for the OP. The image below was done with a vintage, manual focus Tamron SP 90mm "Adaptall" (interchangeable mount) lens on one of my modern DSLRs...
I paid all of $20 for the lens used above, at a local second-hand store. It cost me another $40 to get an Adaptall mount to fit it to my modern Canon DSLR (Adaptall are still being manufactured in China for MANY different systems.) That old macro lens is 1:2 on its own, half life size, so for the shot above I added a 20mm macro extension tube behind it. Working with a vintage manual focus lens that's stopped down to f/11 to get sufficient depth off field, I probably took 75 to 100 shots to get a few "keepers"... might have been easier and faster with a modern AF lens that maintains wide open aperture until the moment the shutter is released.
One of the least expensive macro lenses avail. new is the Tokina AT-X 100mm f/2.8 at about $350. A fine, simple lens... but be aware that in the Nikon-mount version it doesn't have an in-lens focusing motor so would be manual-focus-only on a D5300. To autofocus it needs a camera with an in-body "screw driver" focusing motor, currently D7000-series or higher. (Same as with AF, AF-D and similar Nikkor lenses. You need AF-S or maybe AF-P and similar from Tamron or Sigma, to be able to autofocus on D3000 and D5000-series cameras.)
If you don't need especially high magnification or the conveniences of an actual macro lens, another approach is to use macro extension tubes to make almost any non-macro lens you already have produce higher magnification. The Kenko tube set (12mm, 20mm, 36mm) offers good quality and value at a little over $100, as well as versatility. Macro tubes are simple to use, but not as quick, convenient as a "real" macro lens. There also can be some increased vignetting and edge softness in images from a lens forced to focus closer than it's designed to do... but these aren't necessarily bad things. Below is an example done with a non-macro 50mm f/1.4 lens at large aperture with an extension tube, which I knew would cause a dreamy "chiaroscuro" effect...
These were also done with extension tubes on non-macro lenses.... the left hand with a 70-200mm zoom, the right hand shot with an 85mm prime:
Have fun shopping!