The 38-year-old is the 25th player to achieve the feat and the first since the Zimbabwe-born former England batsman, Graeme Hick, did so in 1998.
Ramprakash started the season with 97 centuries but had been stuck on 99 since April 30, having begun the campaign with hundreds against Lancashire and Sussex.
Co-incidentally he also registered the first century of his career at the same Headingley ground in July 1989.
Ramprakash started his playing days with Middlesex in 1987 and is regarded as one of the finest batsmen of his generation.
However, he struggled to realise that potential during his 52 appearances for England. He averaged 27.32 in a Test career spanning 11 years from 1991.
Ramprakash left Middlesex for London rivals Surrey in 2001 and has scored prolifically in recent seasons, passing the 2,000-run mark in 2006 and 200.
Surrey 204 and 264/3 (Mark Ramprakash 112 n o, S Newman 129; Adil Rashid 1/47, Tim Bresnan 1/52) drew with Yorkshire 414/9 decl (Adil Rashid 67, Jacques Rudolph 64, Gale 63, Kruis 50; Pedro Collins 3/74, Dernbach 2/92, Jordan 2/53).