Yes, nails are an indicator of your health, so if your nails are turning yellow or black, it could be a sign of cancer. If you notice any change in their appearance, you should immediately contact a health care provider. The doctor will thoroughly examine you and give you recommendations for the next steps.