Whenever my dad re-paints my cabinets, he chisels a small piece of wood off from under the rails and takes it into Bunnings to match the paint (short version of this process). Will show him this thread. Might be handy for his next restore.
Cheers!
Adam.