The number 312712 (three hundred twelve thousand seven hundred twelve) is written in Roman numerals as follows: CCCXIIDCCXII