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. Here, EGFR is linked to cancer.