Kroger Co has agreed to pay US$16m to settle a racial discrimination and harassment lawsuit.