Yellow is the color used in medical settings to flag infectious diseases and caution. This is seen in isolation protocols, warning signage, and medical records. Pink, maroon, and magenta are not standard colors used for denoting infectious illness in medical practice.