The accent-color property sets the highlight color of a few native form controls. It colors the checked checkbox, the selected radio, and the filled part of a range or progress bar. It does not rebuild the control.
The property is inherited, so one declaration on a form themes every supported control inside it. Label text, buttons, and text fields do not change. Use color for text.
Standard-track.
Not deprecated and not experimental. It is defined in the CSS Basic User Interface Module Level 4 draft. A browser may shift your color so the control stays readable.
That keyword drops the native widget, so there is no accent left to paint. Draw the control yourself if you need a fully custom box.
contrast
The painted color may not match your hex
Browsers may adjust the accent so it stays readable. Chrome on Android, and Safari before 26.2, do not always make that adjustment.
Compatibility
Browser Support
accent-color is a browser style for native controls. It is not a server runtime feature, so Node.js, Deno, and Bun do not apply.
✓ Standard-track · CSS UI 4
accent-color
Chrome 93+, Edge 93+, Firefox 92+, Opera 79+, Safari 15.4+, and Samsung Internet 17+. No support in Internet Explorer.
96%Modern browser support
Google Chrome93+ · Desktop
Full support
Mozilla Firefox92+ · Desktop & Mobile
Full support
Apple Safari15.4+ · Contrast fix in 26.2
Partial
Microsoft Edge93+ · Chromium
Full support
Opera79+ · Desktop
Full support
Samsung Internet17+ · Android contrast may vary
Partial
Internet ExplorerNot supported
Not supported
accent-colorWidely supported
Bottom line: Safe in current Chrome, Edge, Firefox, Opera, and Safari. Internet Explorer ignores it and keeps the default control color. Safari before 26.2 and Chrome for Android may not enforce a minimum contrast, so check light accents on a light page.
Remember
Key Takeaways
Role: color the active part of checkbox, radio, range, and progress.
Inherited: one declaration on a form themes every supported control inside it.
Limits: it does not color label text, buttons, or text fields.
Initial value:auto keeps the platform accent.
One line:accent-color tints native checks, radios, sliders, and progress bars without replacing them.
Frequently Asked Questions
It sets the highlight color of certain native form controls. On a checkbox or radio it colors the checked mark. On a range or progress element it colors the filled part.
Browsers apply it to checkbox, radio, range, and progress. Buttons, selects, and text fields do not use it for their accent.
No. Label text uses the color property. accent-color only paints the control’s active accent, such as the check mark or the filled track.
Yes. Set it on a form or other parent and supported controls inside that parent pick it up. A rule on the control itself overrides the inherited value.
auto is the initial value. The browser uses its own platform accent instead of a color you choose.
Chrome 93+, Edge 93+, Firefox 92+, Opera 79+, Safari 15.4+, and Samsung Internet 17+. Internet Explorer does not support it. It is a browser style, not a Node.js or other server runtime feature.