- Change FixedPageUI SelectionColor to make search matches clear and readable.
- Test dark themes, inverted colors, active matches, and document backgrounds.
- Verify settings persistence with safe backups and a clean portable test.
When the SumatraPDF search highlight is hard to see, search itself is usually still working. The viewer finds the word or phrase and moves to the correct page, but the match appears in a faint color, blends into the page, becomes unclear in a dark theme, or looks almost identical to surrounding text. The most likely causes are the FixedPageUI SelectionColor setting, inverted or custom document colors, the visual difference between the active match and secondary matches, or a settings file that is not saving the intended value.
This guide focuses specifically on highlight visibility, not missing search results. Begin with a simple test, change only one relevant setting at a time, and stop as soon as the active result and other highlighted matches are clearly visible without obscuring the text.

Start with free Canva bundles
Browse the freebies page to claim ready-to-use Canva bundles, then get 25% off your first premium bundle after you sign up.
Free to claim. Canva-ready. Instant access.
1. Confirm the Symptom With One Simple Test
Before editing settings, confirm that SumatraPDF is finding the text correctly. Open a straightforward, text-based PDF with a light page background. A digitally generated manual, invoice, or exported word-processing document is a better test than a scanned page.
- Open the test PDF in SumatraPDF.
- Press Ctrl+F.
- Search for a common word that appears several times on the current page.
- Press Enter or use the next-result control to move through the matches.
- Watch whether the page moves to each occurrence, even if the highlighting is faint.
If SumatraPDF moves between the correct words, the search engine is working. The problem is highlight visibility, so there is no reason to troubleshoot OCR, indexing, DRM, or document restrictions at this stage.
If the search box reports matches but you cannot see them, repeat the test at a higher zoom level. This rules out a highlight that is technically present but too small to distinguish at a whole-page zoom.
1.1 Compare the Active Match With Secondary Matches
The currently selected result may not look exactly like the other matches on the page. One result is the active match that SumatraPDF has navigated to, while additional occurrences can be displayed as secondary highlights. Depending on the document colors and viewer settings, one category may be easier to notice than the other.
Press Enter several times and observe which highlight moves. If a visible emphasis moves from one occurrence to another, highlighting is functioning. You need a more contrasting color rather than a search repair.
Success at this stage means you can confirm that navigation follows the matches. Once that is clear, stop testing search accuracy and concentrate on color and rendering.
1.2 Test Both Light and Dark Page Backgrounds
A highlight color that works well over white may disappear over black, dark gray, blue, or a scanned page with uneven shading. Test one document with a normal light background and, if relevant to your reading habits, another with a dark background.
If the highlight is visible on the light document but not the dark one, SumatraPDF is not generally broken. The chosen selection color lacks sufficient contrast for the second background. This is especially common when inverted colors or a dark theme changes the visual relationship between the page, text, and highlight.
2. Change the FixedPageUI SelectionColor Setting
For fixed-page documents such as PDFs, SumatraPDF exposes appearance options through its advanced settings. The directly relevant option is SelectionColor inside the FixedPageUI section. This is the first setting to inspect when search matches are present but difficult to see.
- In SumatraPDF, open the Settings menu.
- Select Advanced Options.
- Find the section beginning with FixedPageUI [.
- Locate the line beginning with SelectionColor =.
- Record the current value before changing it.
- Replace it with a high-contrast color, save the file, and return to SumatraPDF.
A bright yellow is usually readable on light pages when the application renders the selection with appropriate blending. A vivid cyan, lime, or orange may work better with a dark or inverted page. Color values in SumatraPDF settings are commonly represented as hexadecimal RGB colors, such as #ffff00 for yellow or #00ffff for cyan.
Do not choose a color merely because it is bright in a color picker. It must contrast with both the document background and its text. A dark blue highlight can hide black text, while pale gray can vanish against a white page. Highly saturated colors are often easier to locate, but a color that makes the letters unreadable is not a successful fix.
2.1 Reopen or Refresh the Document
After saving the advanced settings, give SumatraPDF an opportunity to apply the change. Close and reopen the document. If the result remains unchanged, exit SumatraPDF completely and start it again. Then repeat the same search.
This matters because an open document or existing window may retain part of its current visual state. Restarting also helps reveal whether the setting was saved to the file actually used by the running copy of SumatraPDF.
Success means the active search match is immediately noticeable and the letters remain readable. If the new color solves the problem, stop editing settings. Changing unrelated options can introduce additional variables without improving the highlight.
2.2 Account for Dark Themes and Inverted Colors
A dark application interface does not always mean the page itself is dark. Conversely, an inverted-colors command can alter the rendered document colors even when the surrounding interface looks normal. Judge the selection color against the page content, not just the toolbar or window frame.
If you use inverted colors, temporarily return to normal document colors and repeat the search. If the highlight becomes clear, the conflict is between the selection color and the inverted rendering. Choose a selection color that remains distinct in your preferred viewing mode, or turn inversion off when searching.
When testing alternatives, use a page containing both dark text and lighter images or shaded areas. Move through multiple results. A suitable setting should make the active match recognizable across the pages you actually read, rather than only on one empty white area.
3. Check Document, Format, and Windows Factors
File associations, printer drivers, codecs, Ghostscript, and external tools are not typical causes of a faint search highlight. They matter only when they change which application opens the file or how a particular format is rendered. Avoid reinstalling unrelated components when SumatraPDF already finds and navigates to the text.
3.1 Verify That the File Opened in the Expected SumatraPDF Copy
Windows may open a file in a different installed or portable copy than the one whose settings you edited. This can happen when a portable copy is used occasionally but the file association points to an installed copy.
- Close every SumatraPDF window.
- Start the specific SumatraPDF executable you intend to use.
- Open the test document from within that window.
- Inspect Advanced Options again and confirm that your SelectionColor value is present.
If the value differs, you were editing another copy's settings file. Apply the change through Advanced Options in the copy that actually opens your documents, or correct the Windows file association if you want a different copy to be the default.
Success means opening a PDF from File Explorer and opening it from inside SumatraPDF produce the same visible highlight behavior.
3.2 Compare a Text PDF With Other Supported Formats
SumatraPDF supports multiple document families, including PDF, eBook, comic, CHM, DjVu, XPS, and image-based content. Their text handling and rendering paths are not identical. The FixedPageUI group is most directly relevant to fixed-page documents, so do not assume one appearance setting controls every format in exactly the same way.
Test a basic PDF first. If the color change works there but not in an eBook or CHM file, the issue is format-specific rather than a failure to save the PDF selection color. If only one document behaves badly, compare it with another file of the same format.
Scanned PDFs and standalone images may contain pictures of text rather than searchable text. That causes missing or incomplete search results, which is a different symptom. If SumatraPDF reports and navigates among matches, however, continue treating the issue as visibility rather than OCR.
3.3 Consider Source-Document Colors and Rendering
A source document can contain colored text, transparency, dark page artwork, annotations, or background images that reduce highlight contrast. Open another simple document using the same SumatraPDF settings. If highlighting is clear in the second file, the first document's visual design is the key factor.
Zoom in and test matches over several page areas. If the highlight disappears only over particular images or colored panels, select a color that contrasts with those areas or temporarily use normal, non-inverted colors while searching.
Document permissions are generally relevant to actions such as copying or printing, not to making an already detected search match brighter. Do not attempt to remove restrictions. If search finds a match, changing the local viewer's permitted appearance setting is the appropriate route.
3.4 Know When External Components Are Irrelevant
Ghostscript, printer drivers, and codecs should not be the first targets for this symptom. A printer driver affects printing, not the on-screen color of an ordinary search match. Ghostscript is associated with PostScript-related workflows, and codecs may affect certain media or image decoding scenarios. Neither is a general solution for a faint highlight in a normally rendered PDF.
Investigate an external component only if the problem occurs exclusively with a format or workflow that depends on it, or if the document itself fails to render correctly. If pages and text look normal and only the highlight is weak, return to SelectionColor, inverted colors, and settings persistence.

4. Inspect or Reset SumatraPDF-settings.txt Safely
SumatraPDF stores preferences in a text settings file named SumatraPDF-settings.txt. The exact location depends on whether you use an installed or portable setup. The safest way to reach the active file is to choose Settings and then Advanced Options from the running application.
Before manual editing, close SumatraPDF and make a backup copy of the settings file. Give the backup a clear name such as SumatraPDF-settings-backup.txt. This preserves custom colors, history preferences, keyboard-related options, and other choices that may be difficult to reconstruct.
4.1 Check the Setting's Structure and Value
Open the file in a plain-text editor and locate the FixedPageUI block. Confirm that SelectionColor remains inside that block, uses a valid hexadecimal color value, and has not been duplicated with conflicting edits.
A representative structure looks like this:
FixedPageUI [
SelectionColor = #ffff00
]
Your real block will normally contain additional settings. Do not replace the entire section with the short example. Change only the SelectionColor line, preserve the surrounding structure, and save as plain text.
Restart SumatraPDF and inspect Advanced Options once more. If your value is still present after restart, settings persistence is working. If it reverts, verify that the file is writable, that you edited the active copy, and that two SumatraPDF instances were not overwriting each other's last saved state.
4.2 Reset Only After Making a Backup
If the file appears malformed or settings behave unpredictably, close SumatraPDF, back up the file, and temporarily rename the original. Start SumatraPDF so it can create or use fresh defaults. Test search highlighting in the simple PDF before restoring any customization.
If fresh settings fix the problem, reapply only the necessary preferences in small groups. Do not immediately copy the entire old file over the new one, because that may restore the conflicting value.
If fresh settings do not alter highlight visibility, restore the backup if desired. The evidence then points toward document colors, viewing mode, format-specific behavior, or the particular application build rather than a corrupted preference file.
5. Run a Clean Temporary Test Before Reinstalling
Reinstallation is often unnecessary for a color problem because removing and reinstalling an application may leave user settings intact. A cleaner diagnostic is to test a separate portable copy from the official SumatraPDF source, without deleting the working installation or its settings.
- Close the currently running SumatraPDF windows.
- Obtain an official portable build from the SumatraPDF website.
- Place it in a new folder where it can create and save its own settings.
- Open the same simple test PDF directly from that portable copy.
- Search for the same repeated word under default settings.
- If necessary, change only FixedPageUI SelectionColor in that copy.
If the clean portable test displays a clear highlight, your normal profile or the settings file used by your regular copy is the likely cause. Compare only the relevant appearance options rather than replacing every setting.
If both copies show the same weak highlight only in one document, the file's colors or rendering characteristics are more likely responsible. If both show it in every document, compare normal and inverted color modes, try a sharply contrasting selection color, and verify that you can distinguish the moving active match.
Stop once the clean test establishes the cause. Reinstall only when the application files themselves appear damaged or the official clean copy behaves differently for reasons not explained by settings. Do not delete your original preferences without a backup.
6. Quick Fix Checklist
- Confirm that Enter moves to the correct matches.
- Test with a simple text-based PDF on a white background.
- Compare the active match with secondary matches.
- Increase zoom to make subtle highlighting easier to inspect.
- Open Settings, Advanced Options, and find FixedPageUI SelectionColor.
- Back up the existing color value before editing it.
- Choose a color that contrasts with both page and text.
- Avoid dark highlights over dark text and pale highlights over white pages.
- Save the setting, reopen the document, and restart SumatraPDF if needed.
- Temporarily disable inverted colors to identify a color conflict.
- Test light and dark documents using the same search term.
- Confirm that Windows opens the SumatraPDF copy whose settings you edited.
- Back up SumatraPDF-settings.txt before resetting anything.
- Use a clean portable test before reinstalling the application.
- Stop changing settings as soon as matches are clear and readable.
7. Frequently Asked Questions
7.1 Why Does SumatraPDF Find the Word but Not Show an Obvious Highlight?
The highlight color may be too close to the page background, may blend poorly with inverted colors, or may be subtle at the current zoom. The active match can also look different from secondary matches. If Enter moves through the correct occurrences, search is working and the appropriate fix is to improve visibility.
7.2 Which Setting Changes the Search Highlight Color?
For fixed-page documents, inspect SelectionColor inside the FixedPageUI section of Advanced Options. Back up the old value, choose a valid contrasting color, save the file, and reopen the document. Test before changing any other appearance option.
7.3 What Is the Best Highlight Color for SumatraPDF?
There is no single best color for every document. Bright yellow often works on conventional white pages, while cyan, lime, or orange may stand out better on dark or inverted backgrounds. The best choice makes the match easy to locate while keeping the underlying text readable.
7.4 Why Does the New Color Not Appear After I Save It?
You may need to reopen the document or restart SumatraPDF. You may also have edited the settings for a different installed or portable copy. Open Advanced Options from the exact executable that displays the document and confirm that the saved value remains present after a restart.
7.5 Should I Reinstall SumatraPDF?
Not initially. A faint search highlight is usually an appearance or settings issue, and reinstalling may not remove the existing user settings. Test a clean portable copy first. Reinstall only if that comparison indicates a problem with the regular application files rather than the document or configuration.
7.6 Is This the Same as SumatraPDF Not Finding Text?
No. This guide applies when matches exist but are hard to see. If SumatraPDF reports no match, the file may contain scanned images, unusual text encoding, unsupported text content, or no searchable text layer. That requires a different troubleshooting path and should not be confused with weak highlight contrast.