A dental restorative based on a cured dental composite containing coconut oil and/or a derivative of coconut oil. The dental restorative also includes a polymerizable monomer, a filler, and a polymerization initiator. Methods of preventing or reducing growth of microorganisms and inhibiting formation of biofilms are also described.