Are literacy tests in the United States legal?

I know that literacy tests with a racial effect have been outlawed, but is there any federal law or court decision making literacy tests that are race-neutral illegal as well? If so, what is the name of the law or case?

Thanks.

Not for voting. Yes for employment or joining the military..