I've been monitoring my memory usage out of curiosity, and was surprised to find that my Activity Monitor memory pressure has been in the yellow all day, even though my swap memory usage has been low (400-700MB) the entire time.

Page in/out activity is also quite low, and there is over 4GB of file cache (that could be freed up) so I don't understand why macOS thinks there is significant memory pressure. For the last 2 weeks, I've only seen green memory pressure, with identical usage, so this is a mystery.
Any idea what determines how macOS memory pressure is calculated?

Page in/out activity is also quite low, and there is over 4GB of file cache (that could be freed up) so I don't understand why macOS thinks there is significant memory pressure. For the last 2 weeks, I've only seen green memory pressure, with identical usage, so this is a mystery.
Any idea what determines how macOS memory pressure is calculated?