As a personal anecdote, I cut short a 24h race this summer at 17h because, even though it was ~20degC, I spent an entire lap shivering even though I had t-shirt + thick hoody + hat. That was a pretty big warning that I'd pushed too far and further would have laid me out.