The number 316874 (three hundred sixteen thousand eight hundred seventy-four) is written in Roman numerals as follows: CCCXVIDCCCLXXIV