I think it's often overlooked that AVIF is also really good at flat colour & sharp edges.

Don't go straight for a lossless format just because it's the kind of image that would look bad as a JPEG.

Here's an 11kb image as an AVIF, vs JPEG XL.

@jaffathecake

Wouldn't a PNG be the go-to for relatively flat graphics like that?

@alessandro no, that's what I'm saying - we need to get out of this old way of thinking. This would be ~60kb as a PNG. It would be 36kb as a lossless JPEG XL.