leg and thigh meat is still safe at 165degf, but it is recommended to cook it to an internal temperature of about 170-175degf (77-79degc).