Sodomy is a felony per Section 162 of the Kenyan Penal Code, punishable by 14 years' imprisonment, and any sexual practices between males (termed "gross indecency") are a felony under section 165 of the same statute, punishable by 5 years' imprisonment.
which took effect 27 August 2010, does not expressly protect the rights of LGBTI persons because, according to the experts who drafted the constitution, a majority of Kenyans would have rejected the constitution in the referendum to adopt it.
Kenyan society is highly conservative, and a large majority of people hold negative views of LGBT people.
Homosexuality is "largely considered to be taboo and repugnant to [the] cultural values and morality" of Kenya.
Article 2 of the Constitution of Kenya provides, in paragraph (5) that "the general rules of international law shall form part of the law of Kenya" and, in paragraph (6), that "[a]ny treaty or convention ratified by Kenya shall form part of the law of Kenya under this Constitution".
In paragraph (4), the constitution states, "[a]ny law, including customary law, that is inconsistent with [the] Constitution is void to the extent of the inconsistency, and any act or omission in contravention of [the] Constitution is invalid." A subsequent section of this Wikipedia article lists Kenya's obligations under international law and treaties concerning LGBTI rights.