The standard for woodworking is the 1/3 rule. 1/3 of the thickness is a tenon cheek, 1/3 is tenon, and 1/3 is the other tenon cheek. So if you're using nominal 2X lumber a 1/2" tenon should be okay. If you're using true 2X material it may be a bit thin.