Is it possible for a object to check if it hits 2 objects at the same time

I’m making a game where an object falls down and you have to land it but if it hits in the middle between 2 of the panels which do different things it looks like it just takes the object that has a specific space in the hierarchy or something,
here is an example

but i want to make it so when the person is red and it hits between the to, i want him to survive, and if he lands on only the yellow dies, same with my yellow object, if it hits yellow and red i want him to survive
Thanks for reading,

Store information when the object collide with an other :

bool onRed = false;
bool onYellow = false;

  public void IsDead()
    {
        if(!onRed && onYellow)
        {
            // death
        }
    }

    private void OnCollisionEnter(Collision collision)
    {
        GameObject gameObjectCollided = collision.gameObject;
        if(gameObjectCollided.GetComponent<Red>())
        {
            onRed = true;
        }
        if(gameObject.GetComponent<Yellow>())
        {
            onYellow = true;
        }
        IsDead();
    }

So if the object collides first with the Yellow platform it will die.
If you want the object to survive if he lands on yellow platform THEN on the red platform, you could use the method to check if the object is dead in LateUpdate() in the case it collides both platforms in the same frame or you Coroutine to delay death, until you make sure it’s only on yellow platform.