An emoji favicon is drawn straight onto the tab, with no frame and no background of its own. On a light tab that's fine for most emoji. Then someone switches the browser to dark mode, and your 🖤 or ♠️ turns into a dark smudge on a dark grey tab.
I wanted numbers instead of a hunch, so I opened 24 emoji favicons in a real Chrome window, took screenshots of the tab strip in light and dark mode, and counted how much of each icon still stood out. Then I tried the fixes: a background colour, a shape, and a background that only appears in dark mode.
The short version:
- Eight dark emoji kept on average 137 clearly visible pixels (out of 256) on a light tab and 24 on a dark one. ♠️ and 🌑 kept 0.
- Eight white or pale emoji did the reverse: 14 on a light tab, 146 on a dark one. 🤍, ⚪, ☁️, 📄 and 🏳️ kept 0 on the light tab.
- A background that switches on only in dark mode took the dark set from 24 to 149 and left the light-mode numbers exactly as they were.
- Shapes barely show at 16 pixels: a star behind the emoji kept 11 pixels of its colour.
- A three-emoji combo fits into a strip 6 pixels tall in the tab.
How I tested
- Browser: Google Chrome 156 on Linux, a normal window (not headless) on a virtual display, at 1× scale, so each favicon is 16 × 16 pixels. Dark mode was Chrome's
--force-dark-modeswitch. - Emoji font: Noto Color Emoji, the usual emoji font on Linux and Android. Apple and Windows draw emoji differently, so a given emoji can do better or worse there. The pattern holds, but the exact numbers belong to this font.
- Icons: 24 emoji favicons from EmojiFavicons, downloaded as SVG and served from a local test page so every tab got exactly one icon. Eight everyday emoji (🚀 🔥 ⭐ ❤️ 💡 ✅ 📈 🛒), eight dark ones (🖤 ⚫ 🌑 🎱 🕷️ 🐈⬛ ♠️ 🎩) and eight pale ones (🤍 ⚪ 🥛 ☁️ 📄 💭 🏳️ 👻).
- Measuring: for every batch I took one screenshot with the real icons and one with an empty SVG in the same tabs. The difference between the two is exactly what the favicon adds. A pixel counted as clearly visible when its colour differs from the tab behind it by a CIE76 ΔE of 30 or more. That's a big, obvious difference, and it counts hue as well as brightness, so a red heart on a blue tab scores. I also counted pixels that pass WCAG's 3:1 contrast for non-text UI. That one only looks at brightness, so it's stricter. Both are in the raw output.
- Which tab: the icons sat on background tabs, where most of your tabs are. Chrome 156's default theme drew those at #d3e3fd (light blue) in light mode and #1f2020 in dark mode. The active tab was #ffffff and #3c3c3c.
Not tested: Firefox, Safari, Edge, Windows, macOS, high-DPI screens and custom browser themes. A tab with a coloured theme is a different background, and the same reasoning applies to it.
Everyday emoji: mostly fine, with two surprises
| Emoji | Light tab | Dark tab |
|---|---|---|
| 🚀 rocket | 84 | 111 |
| 🔥 fire | 122 | 125 |
| ⭐ star | 119 | 123 |
| ❤️ red heart | 157 | 158 |
| 💡 bulb | 104 | 109 |
| ✅ check | 186 | 224 |
| 📈 chart | 30 | 224 |
| 🛒 trolley | 2 | 53 |
Clearly visible pixels (ΔE ≥ 30) out of 256, background tabs, Chrome 156, Noto Color Emoji.
Saturated emoji like 🔥, ⭐ and ❤️ score about the same on both tabs, because their colour is far from both light blue and dark grey. The two surprises were on the light tab. 📈 is mostly a white sheet of paper, and only its red line and frame stand out from #d3e3fd. 🛒 in this font is a light grey-blue trolley, almost the same colour as the light tab, and it kept 2 pixels. On the dark tab it does better, but still only 53.
The stricter 3:1 count is harsher on the light tab: 🔥, ⭐, 💡 and ✅ all score 0 there. They are clearly visible, just not much darker than light blue. Brightness contrast is not the only thing the eye uses on a tiny icon, but it's the thing that survives a glance at a crowded tab strip, so emoji with very little brightness difference are worth a second look.
Dark emoji on a dark tab
| Emoji | Light tab | Dark tab |
|---|---|---|
| 🖤 black heart | 152 | 8 |
| ⚫ black circle | 178 | 7 |
| 🌑 new moon | 181 | 0 |
| 🎱 8 ball | 154 | 66 |
| 🕷️ spider | 64 | 57 |
| 🐈⬛ black cat | 104 | 24 |
| ♠️ spades | 128 | 0 |
| 🎩 top hat | 132 | 33 |
| Average | 137 | 24 |
On the dark tab, five of the eight kept 24 pixels or fewer. 🌑 and ♠️ kept none: you can find them only if you know where to look. The 🎱 does a little better thanks to its white "8", and the 🕷️ was weak on both tabs because it's thin.
Pale emoji on a light tab
| Emoji | Light tab | Dark tab |
|---|---|---|
| 🤍 white heart | 0 | 156 |
| ⚪ white circle | 0 | 184 |
| 🥛 milk | 31 | 118 |
| ☁️ cloud | 0 | 113 |
| 📄 page | 0 | 188 |
| 💭 thought balloon | 52 | 149 |
| 🏳️ white flag | 0 | 114 |
| 👻 ghost | 28 | 150 |
| Average | 14 | 146 |
This is the mirror image, and it's easier to miss: most people design in light mode and would notice a black icon disappearing on a dark tab long before they notice a white one fading into a light one. In Chrome's default light theme, five of the eight left nothing that cleared the threshold. They aren't completely gone, though. A pale outline is still there if you look closely, but it's much weaker than the rest of the tab strip.
Fix 1: a background that appears only in dark mode
An SVG favicon can carry its own CSS, including a prefers-color-scheme media query. EmojiFavicons exposes that as the darkbg parameter. With no bg set, the icon stays transparent in light mode and gets a background only in dark mode:
<link rel="icon" href="https://emojifavicons.com/black-heart?darkbg=ffffff"> The SVG it returns is short enough to read:
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 16 16"><style>@media(prefers-color-scheme:dark){.bg{fill:#ffffff}}</style><rect class="bg" width="16" height="16" fill="transparent" rx="0"/><text class="e" x="0" y="14" font-size="14">🖤</text></svg> In my test, Chrome's tab strip respected the media query:
| Dark emoji, average of 8 | Light tab | Dark tab |
|---|---|---|
| Plain | 137 | 24 |
?darkbg=ffffff | 137 | 149 |
?shape=circle&bg=ffffff | 135 | 104 |
?shape=circle&bg=ffffff&darkbg=e8eaed | 135 | 103 |
The light-tab numbers for darkbg are identical to the plain icon, pixel for pixel: the background really does exist only in dark mode. On the dark tab the set went from 24 to 149, and 🕷️ reached 233. The white circle also helps, but less, because a circle covers fewer pixels than a full square.
Two caveats. First, I forced dark mode with a Chrome switch on Linux. Whether a browser's tab strip follows the operating system theme, the browser theme or neither depends on the browser and the platform, so check your own targets. Second, the EmojiFavicons docs say Safari gets a PNG instead of the SVG, and a PNG can't contain a media query. On Safari you only get one look for both themes.
Fix 2: for pale emoji, a dark disc, not a white one
A white circle does nothing for a white emoji on a light tab (14 before, 14 after). What the pale set needs is the opposite, a dark disc behind it:
<link rel="icon" href="https://emojifavicons.com/ghost?shape=circle&bg=3c4043"> | Pale emoji, average of 8 | Light tab | Dark tab |
|---|---|---|
| Plain | 14 | 146 |
?shape=circle&bg=ffffff | 14 | 209 |
?shape=circle&bg=3c4043 | 81 | 150 |
81 isn't as high as a saturated emoji gets, because a dark grey disc is still close to a pale icon's own shading. If the emoji is your brand, test a few disc colours. A medium colour that is far from both #d3e3fd and #1f2020 usually works on both tabs.
Shapes almost disappear at 16 pixels
EmojiFavicons offers 16 shapes. I put each behind the 🚀 with a purple background (bg=6c5ce7) and counted how many purple pixels were left in the tab:
| Shape | Purple pixels left (of 256) |
|---|---|
| square | 127 |
| rounded | 116 |
| shield | 87 |
| cross | 84 |
| circle | 74 |
| hexagon | 70 |
| badge | 61 |
| octagon | 60 |
| egg | 48 |
| pentagon | 44 |
| triangle | 34 |
| diamond | 30 |
| heart | 19 |
| drop | 17 |
| cloud | 16 |
| star | 11 |
The reason is in the SVG: the emoji is drawn at full size on top of the shape, so it hides most of it. At 48 px in a preview the star is obvious. In the tab, a star favicon is a rocket with a few purple specks around the edges. Treat the shape as a colour accent, not as part of the design, and pick square, rounded or circle if you want people to see it. The same goes for a colleague's mock-up: check it at 16 pixels before anyone falls in love with the star.
Combos: a tab icon is square
The combo endpoint (/fire+rocket+star) puts emoji side by side. The SVG is three times wider than it is tall, and a tab icon is square, so Chrome shrinks it to fit the width:
| Favicon | Size actually drawn in the tab |
|---|---|
/fire | 13 × 15 px |
/fire+rocket | 15 × 9 px |
/fire+rocket+star | 16 × 6 px |
/fire+rocket+star+red-heart+sparkles | 16 × 4 px |
Six pixels tall is a coloured line, not three emoji. Combos are fine in a README, a badge or an OG image. For the tab, one emoji (or the stacked endpoint, which according to the docs layers a small emoji on a larger one inside one square; I didn't test it in the tab) is the honest choice.
Text favicons went the other way: /text/A, /text/AB and /text/ABC filled the whole 16 × 16 square and kept 185 to 252 clearly visible pixels in both modes, because they come on their own solid tile. If a dark or pale emoji keeps fighting the tab, a two-letter tile is a reliable fallback.
Measuring your own favicon
You don't need my whole setup. Two screenshots of the same tab, one with your icon and one with an empty SVG, and a dozen lines of Python are enough:
from PIL import Image def lab(c): f = lambda v: v / 12.92 if v <= 0.04045 else ((v + 0.055) / 1.055) ** 2.4 r, g, b = (f(v / 255) for v in c[:3]) x, y, z = (0.4124*r + 0.3576*g + 0.1805*b) / 0.95047, 0.2126*r + 0.7152*g + 0.0722*b, (0.0193*r + 0.1192*g + 0.9505*b) / 1.08883 t = lambda v: v ** (1/3) if v > 0.008856 else 7.787 * v + 16/116 return 116*t(y) - 16, 500*(t(x) - t(y)), 200*(t(y) - t(z)) def visible_pixels(with_icon, without_icon, box, min_delta_e=30): a, b = Image.open(with_icon).convert('RGB').crop(box), Image.open(without_icon).convert('RGB').crop(box) return sum(1 for p, q in zip(a.getdata(), b.getdata()) if sum((m - n) ** 2 for m, n in zip(lab(p), lab(q))) ** 0.5 >= min_delta_e) box is the favicon's 16 × 16 area in the screenshot. Run it for a light and a dark tab. In my runs, everyday emoji that look fine scored somewhere between 84 and 224, and the ones that looked "gone" scored under 35.
Checklist
- Look at your favicon on a background tab in light and dark mode, not just on the active tab.
- Black, dark grey or very thin emoji: add a dark-mode-only background (
?darkbg=ffffff). - White or pale emoji: add a darker disc (
?shape=circle&bg=3c4043) or pick an emoji with more colour. - Low-contrast colours like 🛒 or 📈: compare with a more saturated alternative.
- Use a square, rounded or circle shape if you want the shape to be seen. Stars, hearts and clouds mostly hide behind the emoji at 16 pixels.
- One emoji per tab icon. Save combos for places that aren't square.
- Check Safari separately: no media queries in a PNG.
EmojiFavicons is free and needs no signup. Every parameter above is in the docs, and the generator shows the icon before you copy the link tag. If you suspect an existing favicon is broken rather than just faint, the health check looks at what your page actually serves.
Need help with a project? The team behind FindUtils takes on freelance work on Upwork, including a pixel-perfect HTML page converted from your Figma or PSD design, checked down to the 16-pixel icon in light and dark mode.

