The number 840874 (eight hundred forty thousand eight hundred seventy-four) is written in Roman numerals as follows: DCCCXLDCCCLXXIV