This is the exact rule:
All jerseys, except those worn by goalkeepers, shall be numbered on the back with a different arabic number at least 6 inches in height and on the front (jersey or shorts) with the same number which shall be at least 4 inches in height. Numbers shall be of contrasting color to the jersey (or shorts) and clearly visable.