The number 50823 (fifty thousand eight hundred twenty-three) is written in Roman numerals as follows: LDCCCXXIII