You can use JSON like:
{
"$schema": "https://developer.microsoft.com/json-schemas/sp/view-formatting.schema.json",
"additionalRowClass": "=if([$LookUpColumn.lookupValue], if([$LookUpColumn.lookupValue] > 75, 'sp-field-severity--good', if([$LookUpColumn.lookupValue] < 75 && [$LookUpColumn.lookupValue] > 50, 'sp-field-severity--low', if([$LookUpColumn.lookupValue] < 50 && [$LookUpColumn.lookupValue] > 25,'sp-field-severity--warning', if([$LookUpColumn.lookupValue] < 25,'sp-field-severity--blocked', '')))), '')"
}
Example:

Here I am using the simple expression like:
if([$LookUpColumnABC.lookupValue], "Value available", "Value not available")
I am referring the "Simplest way" provided in this article: SharePoint JSON formatting: Check if column is blank/empty