When the nail polish remains on the nails for extended periods of time, they often turn yellow. However, if you don’t apply nail polish, but still you have yellow nails, they could be a sign of fungal infection, thyroid disease, diabetes, lung disease, respiratory or lymphatic problems, and chronic bronchitis.