This can be achieved by using helper cells. First you have to remove the Expires from the range. I have used 3 helper cells K1, L1 and M1.
where K1 formula is =TODAY()
L1 formula is =EDATE(K1,6)
M1 formula is =EDATE(K1,3) and the sample data used is from A2:G11 please refer the image below
Apply below conditional formatting in sequence for the range B2:G11 as below
Add new rule as below and click ok and select stop if true
Add new rule as below
Add new rule as below and select the green in format.
Add new rule as below and select red in format
Add new rule as below and select orange in format.
Final conditional formatting rules manager is
Click Ok and you can see the expected result.