This invention is in the field of medicinal chemistry and relates to coumarin compounds as formula I, wherein R is methyl and phenyl wherein Ri is different electron donating and withdrawing groups wherein R2 is H, Br, SCN, CHO The compounds of formula I are selective anticancer agents over a panel of human cancer cell lines and useful for the treatment of cancer. The invention also relates to methods of preparing the compounds of formula I.