Hello,
Head to Style properties -> Miscellaneous -> Badge - highlighted. By default Core uses the background: @xf-paletteAccent3 which has been that way for sometime. You might have changed the color palette at one point.
You can set a new color there or update paletteAccent3 by going to Style properties -> Color palette.