Try
=A1="OK"
this should returns True/False to tell CF treat A1 with nominated colour