The number 840876 (eight hundred forty thousand eight hundred seventy-six) is written in Roman numerals as follows: DCCCXLDCCCLXXVI