You likely wouldn’t want the bulk of what you have just sitting in cash. But I can’t tell you how much is right for you and your lifestyle, etc.
I always try to hold about 6 months’ worth of living expenses set aside. Maybe a little more. Most of the rest though is invested.