A few things
Theres a rare disorder called yellow nail syndrome, i've never seen a case of it and it is very rare and is usually associated with respiratory symotoms! it could be due to smoking
or a nutritional disorder. If you have any other symtoms it would help to establish a firmer diagnosis.
However, my best guess is that you like to wear red nail polish, which is notorious for leaving nails yellow!