Contract employees are eligible for gratuity if they complete 5 years of continuous service with the same contractor, as per the Payment of Gratuity Act.