...
If the passenger can board without any issue: Green banner.
If the passenger can board but there's a warning (e.g., the passenger is travelling with an infant, the passenger status is already Boarded): Yellow banner and a warning message.
If the passenger cannot board (e.g., the boarding pass is no longer valid, the passenger status is not Checked-in): Red banner and an error message.
...