The number 312123 (three hundred twelve thousand one hundred twenty-three) is written in Roman numerals as follows: CCCXIICXXIII