No, Infact, mass density is mass per unit volume. Optical density of a medium determines the ability of the medium to refract light. Kerosene oil has higher refractive index than water. Therefore, kerosene oil is optically denser than water. But mass density of kerosene oil is less than the mass density of water.