Yellow eyes can be a sign of jaundice, which can result from temporary or permanent liver damage. Any number of liver-metabolized drugs taken in sufficient quantities can have this effect if normal enzyme levels are disrupted.
If liver imbalance is the culprit, I would imagine this is most likely the result of someone having taken many vicodin or other prescription opiate that contains APAP, as the large amount of acetaminophen (APAP, generic name for tylenol) present can cause liver problems.
I have also heard anecdotally that yellow eyes can be cause by sleep deprivation, which might be the result of amphetamine or a similar substance.
Opiates can cause pupil constriction (miosis) due to downstream effects on parasympathetic cholinergic activity.
On the other hand, sympathetic-acting drugs (amphetamines, some psychedelics, MDMA) and anticholinergic drugs (atropine, etc) can produce pupil dilation (mydriasis).
Interestingly, metabolites of one opiate called Demerol (pethidine) have anticholinergic effects, effectively canceling out the pupil constriction.