Vicodin and Percocet both contain acetaminophen, which is a non-opioid pain reliever. However, while Vicodin consists of acetaminophen and hydrocodone, Percocet consists of acetaminophen and oxycodone. Both hydrocodone and oxycodone are opioid pain relievers.