The calculated distance (air line) between Yahyalı and Ankara is approximately 184 miles respectively 296 kilometers.
By car or train, the actual journey to Ankara is certainly longer, as only the direct route (as the crow flies) between Yahyalı and Ankara has been calculated here.