The yellow baboon inhabits savannas and light forests in eastern Africa, from Kenya and Tanzania to Zimbabwe and Botswana.