Generally speaking, if you have been to an epidemic area, or have had contact with a confirmed patient or a suspected case, it will turn into a yellow code, even red team.
If the health code turns yellow for no reason, you can open the health code, find the "self-complaint" in the upper left corner, click the complaint, or uninstall and reinstall the applet to view it.