John F. Kennedy International Airport is about 15 miles from Midtown Manhattan, the usual meaning of the city center for this question, roughly 30 minutes clear and 60 to 90 minutes in traffic by road. The distance to Lower Manhattan is longer, about 20 miles, and the distance to any other part of the city depends on the exact address, so a single JFK-to-city-center figure is only honest when it names the Manhattan point it measures to.

The ranked options to Midtown
By booked car: door to door, terminal to the Midtown address, with the total fixed in writing before travel, and the JFK-Manhattan economy fare of $65 genuinely applies here, because this is a Manhattan trip. By taxi: the JFK-Manhattan flat fare of $70 plus the published adds, $76.75 in total, or $81.75 in the weekday rush, before tip. By transit: AirTrain JFK to Jamaica, then subway or Long Island Rail Road into Manhattan, roughly 1 hour to 1 hour 15 minutes in total, at the AirTrain fare of $8.75 plus the subway fare of $3, the cheapest option for one person travelling light.
By bus combination: express bus into Manhattan plus subway, usually slower than the rail chain and only worth it when its timetable fits your arrival better. A metered taxi figure should never be quoted for this run, because the flat fare governs it.
Which distance to use
Use 15 miles for Midtown, and measure again for any other destination: Upper Manhattan is closer to 18 miles, Lower Manhattan about 20 miles, and Brooklyn and Queens destinations are measured from JFK on their own routes, not from Manhattan. If a guide quotes one JFK-to-city-center distance without naming the Manhattan point, it is quoting a rough average, not a distance you can plan a pickup around.