This would be Columbia: it borders Panama, which is a Central American country.
Panama actually used to be part of Columbia until 1903, and back then this question would have a different interpretation as the South-Central America border would be INSIDE a country