The calculated distance (air line) between Yarīm and Ibb is approximately 26 miles respectively 42 kilometers.
By car or train, the actual journey to Ibb is certainly longer, as only the direct route (as the crow flies) between Yarīm and Ibb has been calculated here.