Thumbnail Text Contrast Checker
Upload a thumbnail, pick a text colour and see whether your words stay readable against the image behind them, at phone size.
Check your thumbnail
Contrast results
Choose a thumbnail image to begin. It stays on your device.
What Is the Thumbnail Text Contrast Checker?
A thumbnail text contrast checker measures how easily words can be read against the picture behind them. Video thumbnails often carry a short line of text, such as a headline or a number, and that text is usually shown at a small size in feeds, search results and sidebars. A bright patch of sky or a pale wall can swallow white text, while a dark background can make dark text vanish. This tool takes your thumbnail, samples the area where the text will sit, and compares its brightness with the colour of your text using the contrast formula from the Web Content Accessibility Guidelines (WCAG) 2.1. It reports the average contrast and the contrast for the most difficult part of the area, then tells you whether the text clears the minimum threshold for normal or large text.
How to Use the Thumbnail Text Contrast Checker
The whole check takes a minute or two. Follow these steps:
- Choose your thumbnail image. Use the final design if you can, and make sure it is the shape you will publish.
- Pick the text colour with the colour picker. You can also use the hex value of a brand colour.
- Select the third of the image where the text will sit. If you have not decided, check the middle third first and then repeat the check for the others.
- Set the text size as it will appear on a phone, and tick Bold if the text will be bold.
- Read the results table. If the verdict says the text fails, add an overlay or move the text, then test again.
The preview box shows the text in roughly the size and position it would take on a phone-sized thumbnail, so you can judge the look as well as the numbers.
How It Works
The tool first shrinks your image so that its width is at most 240 pixels. This keeps the calculation fast without changing the overall tones of the picture. It then keeps only the rows that belong to the chosen third. For each pixel in that area, it converts the red, green and blue values from the 0 to 255 range into linear light. Values up to a small cut-off are divided by 12.92, and higher values are raised to the power of 2.4 after a small adjustment. This step matters because screen brightness is not a straight line, and the WCAG formula is written for linear light.
Each pixel's relative luminance is then calculated as 0.2126 times the red value, plus 0.7152 times the green value, plus 0.0722 times the blue value. These weights reflect how sensitive human eyes are to each colour. Contrast between two colours is the ratio (L1 + 0.05) divided by (L2 + 0.05), where L1 is the lighter of the two luminances. The result runs from 1:1, for identical colours, to 21:1, for black on white.
The tool reports two numbers. The average background contrast uses the mean luminance of the zone. The worst-case figure uses the 95th percentile when the text is lighter than the average background, or the 5th percentile when it is darker. In practical terms, that means 95 percent of the zone is at least as contrasty as the reported figure. Finally, the tool sets the threshold. Text is treated as large when it is at least 24px, or at least 18.66px and bold. Large text needs 3:1, and normal text needs 4.5:1. The verdict compares the worst-case figure with the threshold.
Worked Examples
Example 1: white text on a mid-grey image. Suppose the image is a flat grey with a luminance of about 0.21, which is roughly the colour #7F7F7F. White text has a luminance of 1. The contrast is (1 + 0.05) divided by (0.21 + 0.05), which is about 4.0:1. With 20px bold text, the threshold is 3:1, so the result passes. The same text at 16px bold is normal text under the rules, needs 4.5:1, and fails.
Example 2: yellow text on a white sky. Bright yellow such as #FFD60A has a luminance of about 0.69. Against a white background with a luminance of 1, the contrast is about 1.4:1. That fails for both normal and large text, and no reasonable font size will fix it. Adding a dark gradient behind the text or changing the text colour to black will solve the problem.
Example 3: black text on the same yellow. Black has a luminance of 0. Against #FFD60A, the contrast is (0.69 + 0.05) divided by 0.05, which is about 14.9:1. That is well above both thresholds, so it passes at any size. Switching to black text on yellow is one of the most reliable fixes for thumbnails that must stay readable at small sizes.
Common Mistakes to Avoid
The most common mistake is testing a full-resolution original rather than the design you will publish. Export the final thumbnail, then test it. Another error is testing only one part of the image when the text could move. A third is trusting the average alone, because a single bright patch can make the text unreadable even when most of the image is dark. Many creators also forget that the text is shown much smaller than they see it in their editing software, so set the size to match the phone preview rather than the desktop view. Finally, do not treat a pass as a guarantee of attention. Contrast is only one part of a good thumbnail, and the image and title matter at least as much.
Tips for Best Results
Keep text in one area with a calm background, rather than spreading it across a busy edge. Add a subtle dark gradient or a semi-transparent panel behind the words when the image is light, because this is often less intrusive than a heavy border. Use a short phrase of three or four words, since small type on a crowded image is hard to read. Test with bold text where you can, because weight improves legibility at small sizes. Finally, check the thumbnail on your actual phone before you publish, and compare it with the same thumbnail in a feed view.
Frequently Asked Questions
What contrast ratio do thumbnails need?
WCAG 2.1 asks for at least 4.5 to 1 for normal text and 3 to 1 for large text. Large text is 24px or bigger, or 18.66px or bigger in bold. This tool uses those thresholds, though thumbnails are not formal web content, so treat them as a readability guide.
Why does the tool check the worst 5 percent of the image?
An average can hide a problem. If one bright patch sits directly behind white text, the text can disappear there even when the rest of the image is dark. Checking the worst 5 percent shows whether the text stays readable across almost all of its background.
Does the tool upload my thumbnail?
No. The image is read by your browser and drawn to a small hidden canvas. It is never sent to ToolHuby's servers, and it stays on your device until you close or leave the page.
Which part of the thumbnail should I test?
Test the third of the image where the text will sit. Choose top, middle or bottom from the menu. If you may move the text later, test each third and use the lowest result as your limit.
Should I use a 16:9 image for testing?
Yes, if your final thumbnail is 16:9, which is the standard shape for video thumbnails. Other shapes are cropped in the preview, so the sampled area may differ slightly from what viewers see. Use the same shape as your final design.
Related Tools
By the ToolHuby editorial team. Last updated October 29, 2026.