The number 126871 (one hundred twenty-six thousand eight hundred seventy-one) is written in Roman numerals as follows: CXXVIDCCCLXXI