Yellow mucus along with a small lump or nodule on your eyelid can be caused by a stye. Eyelid glands sometimes become clogged and infected and leak mucus.
Do styes discharge?
Stye: A stye could be the problem if discharge is accompanied by a lump on the eyelid. When eyelid glands become blocked, they may fill with pus and form styes. These can leak mucous but will often clear up of their own accord.
Is it normal for a stye to crust?
There is usually nothing to worry about when it comes to eye crust. Some eye crust may be a result of an eye problem, such as a stye or pink eye. If you are experiencing more eye crust than usual or are developing other uncomfortable or painful symptoms, call your eye doctor.