Here we report that the newly synthesized β-phenylacrylic acid derivatives, MHY791 and MHY1036 (MHYs), bind to epidermal growth factor receptor (EGFR) tyrosine kinase domains and function as EGFR inhibitors, having anti-cancer activities selectively in wild-type KRAS colon cancer. The gene discussed is KRAS; the disease is colonic neoplasm.