Louis Burger found an able foil in Gerrie Synman as the pair resurrected the Namibian innings raising a 121-run sixth-wicket stand after the hosts had slipped into trouble at 153 for five.
Synman was the more belligerent of the two clobbering four sixes in making 75 off 100 balls.
Lameck Onyango scuttled the Namibian pair of prolonging their partnership with a three wicket burst.
Martin Suji complemented him well bagging two wickets before Namibian skipper Deon Kotze declared the innings at 335 for nine.
Batting second time, Kenya wiped off the 35-run deficit in the process losing two early wickets.
Wicketkeeper and opening batsman Kennedy Otieno and and skipper Steve Tikolo solidified the innings to take Kenya to 112 for two at close.
Tikolo, who made an impressive 86 in the first essay, continued with the run flow to remain unconquered on 41as Kenya secured a lead of 77 runs.
Brief Scores:Kenya First Innings: 300/6 decl. Namibia First Innings: 335/9 decl.Kenya Second Innings: 112/2.