According to this sentence, it can be judged that Lili is wearing blue, because the hat is on her head, so she can't see it. There are only yellow and white hats left.
Yaya said, "Longlong's hat is not white."
According to this sentence and the above judgment, we can see that Longlong is a yellow hat.
So the rest of the white hat belongs to Yaya.