Black Codes - they allowed blacks legal rights for example right to marriage, property, to sue in court. However they were denied other for example, they weren't able to testify against whites, serve on juries, serve in state militias. Also farmers where forced to sign labour contracts every year with white landowners, and if refused, these back people could be arrested and hired out for work