Allowed
According to the Shulchan Aruch, a tenth of one’s income is the average measure for tzedakah (charity), and a fifth is the best. That is why many also give a tenth (“ma’aser”) of their pocket money or holiday-job earnings.
Source: Shulchan Aruch, Yoreh De’ah 249:1