Coherent anti-Stokes Raman scattering (CARS) spectroscopy is an important technique for spectroscopy and chemically selective microscopy, but wider implementation requires dedicated versatile tunable sources. We describe an optical parametric oscillator (OPO) based on a magnesium oxide-doped periodically poled lithium niobate crystal, with a novel variable output coupler, used as a tunable coherent light source. The OPO's signal wavelength ranges from 880 to 1040 nm and its idler wavelength from 1090 to 1350 nm. We use this OPO to demonstrate high-resolution narrowband CARS spectroscopy on bulk polystyrene from 900 to 3600 cm-1, covering a large part of the molecular fingerprint region. Recording vibrational spectra using narrowband CARS spectroscopy has several advantages over spontaneous Raman spectroscopy, which we discuss. We isolate the resonant part of the CARS spectrum and compare it to the spontaneous Raman spectrum of polystyrene using the maximum entropy method of phase retrieval; we find them to be in extremely good agreement.