Selected checkboxes get the "accent" color by default, or the custom color for that input if specified. The checkbox itself is always white however. This causes poor contrast and accessibility when the form's background color is dark and the text/accent color are light. There should be two accent colors basically, one for background and one for foreground.