coderef

accent-colorLimited availability

The accent-color CSS property sets a color for checkboxes, radio buttons, and other form controls.

Not yet supported in all major browsers — check the table and provide a fallback.

Browser support

DesktopChrome
1–92Not supported
93+Supportedsince Aug 31, 2021
Current: 155
Edge
12–92Not supported
93+Supportedsince Sep 2, 2021
Current: 154
Firefox
1–91Not supported
92+Supportedsince Sep 7, 2021
Current: 157
Safari
1–26.1Not supported
26.2+Supportedsince Dec 12, 2025
Current: 27
MobileChrome Android
✕Not supportedup to 155
Current: 155
Firefox Android
4–91Not supported
92+Supportedsince Sep 7, 2021
Current: 157
Safari iOS
1–26.1Not supported
26.2+Supportedsince Dec 12, 2025
Current: 27

How to use

Not supported in Chrome Android. Use feature detection below and provide a fallback (or a polyfill) for those browsers.

Example

Full syntax and examples are on MDN: accent-color.

Feature detection

CSS · check before using
@supports (accent-color: initial) {
  /* styles that rely on accent-color */
}

/* or in JavaScript */
if (CSS.supports("accent-color", "initial")) {
  // use it
}

Sub-features

Support for each part of the feature (4). The overall table above shows when the whole feature works.

Sub-featureChromeEdgeFirefoxSafariChrome AndroidFirefox AndroidSafari iOS
accent-color93939226.2✕9226.2
accent-color.auto93939226.2✕9226.2
accent-color.currentColor93939226.2✕9226.2
accent-color.transparent93939226.2✕9226.2