It means that the sweet potato is ready to harvest. The leaves of sweet potato will turn yellow, but not all of them. There are two main types of sweet potatoes, "red" and "golden". If you are growing the "red" type, then it will turn a deep red color when mature. The gold variety turns a yellow color as it matures.