In general, homosexuality is not viewed with tolerance in Africa. Gay travelers in Kenya may find it safest to adopt a discreet attitude. Women travelers will experience frequent sexual harassment, especially on the predominantly Muslim coast. You may choose to travel with someone else rather than solo, never sunbathe alone on a beach, and never walk alone at night, especially in Nairobi. Take taxis if you feel unsafe.
Local women are often helpful to and protective of women travelers.
More Women Travel, edited by Natania Jansz and Miranda Davies, is a good resource book. All rights reserved.