Looks like some styles from our foundation modernization are overriding the text color here.
I’ve got a PR here that should properly set the expected color on the Category badge theme component. Once it’s merged you can give it a go.
https://github.com/discourse/discourse-category-badge-styles/pull/34

