Add a boolean custom property to the component you want to affect.
Add an expression binding to that property that looks something like this:
{path/to/tag} < {path/to/limit}
The tag reference might be a property reference instead if you have the tag bound or indirectly bound nearby already (but not as text). Same for the limit reference, and it can be a plain constant, too.
Use the style customizer to select your colors for the two states of the boolean, or
Add a binding to background color and an if() expression to select the colors.