An earthquake with a magnitude-6.6 jolted off the coast of Central America on Wednesday, said the GFZ German Research Centre for Geosciences.