Good afternoon,
Thanks for getting in touch, It's generally sunny, dry and not too hot for most of the year in Kenya despite being situated on the equator. The main rainy seasons are from March to May and November to December but the amount of rainfall varies year to year. Central Kenya is situated on a plateau and the altitude keeps the heat index at a comfortable level. The coastal areas are hotter, but the ocean breeze also makes that region (Mombasa, Lamu and Malindi) fairly comfortable for most of the year. Mount Kenya is high enough to have permanent snow and it will often freeze at night. Western Kenya is generally hot and humid and Northern Kenya is generally hot and dry.
There is a lot more information available, if you search for 'best time to visit Kenya', you will get many helpful results,
I hope this helps,
Kindest,
Ben