Crusty eyes in the morning
This is quite common. It is most likely dried rheum (also know by slang terms such as "sleep", "eye boogers", "eye crusties", etc.).

Rheum is the result of dried mucus, tears (and the salt and minerals therein), as well as dead blood and skin cells. 

Essentially it is all the stuff that’s normally in your eye that eventually dries up making the contents more condensed giving it a light yellow color. When all that stuff is in your tears it is spread out enough that your tears are still mostly clear.