How do I check a video's colours and flashes?
- Check the text contrast. Take the colour of your text and the colour behind it and work out the contrast ratio, or use a contrast checker. Aim for 4.5:1 for normal text and at least 3:1 for very large text.
- Look at it in grey. View a frame in greyscale. If two teams or two important objects turn into the same grey, viewers with a colour-vision deficiency may not tell them apart either.
- Add a second cue. Give each team a name, a number, a shape or a position as well as a colour.
- Count the flashes. Step through the busiest second of the video frame by frame and count bright-dark-bright flashes, especially large or saturated red ones. Keep them to three per second or fewer.
- Watch it on a phone. Play the final file on a phone at normal brightness, in a bright room and in a dark one, before posting.
What is a contrast ratio?
A contrast ratio compares the brightness of two colours, such as text and its background, on a scale from 1:1 (the same colour) to 21:1 (black on white). WCAG asks for at least 4.5:1 for normal text and at least 3:1 for large text, which it defines as about 18 point regular or 14 point bold; its stricter level asks for 7:1 and 4.5:1. Graphics that carry meaning, such as the outline of a ball or an icon, should reach at least 3:1 against what is next to them.
The ratio is built on relative luminance, a measure of how bright a colour looks to the human eye rather than how much of each primary it contains. Our eyes are far more sensitive to green light than to blue, which is why pure yellow looks almost as bright as white while pure blue looks dark.
How do I calculate contrast by hand?
Take each colour's red, green and blue values from 0 to 255 and divide them by 255. Convert each value c to linear light: if c is 0.03928 or less, divide it by 12.92; otherwise raise (c + 0.055) ÷ 1.055 to the power 2.4. Then combine the converted values as L = 0.2126 R + 0.7152 G + 0.0722 B. Finally, with L1 the lighter colour and L2 the darker one, the contrast ratio is (L1 + 0.05) ÷ (L2 + 0.05).
A worked example: mid-grey text #777777 on white. Each channel is 119, and 119 ÷ 255 ≈ 0.467. Converted, (0.467 + 0.055) ÷ 1.055 raised to the power 2.4 is about 0.184, and because all three channels are equal, L ≈ 0.184. White has L = 1. The ratio is (1 + 0.05) ÷ (0.184 + 0.05) ≈ 4.48, just under 4.5:1. One step darker, #767676 reaches about 4.54:1 and passes.
Bright, saturated colours are often weaker than they look. Pure yellow on white is only about 1.07:1, close to invisible. Pure blue on black is about 2.44:1, too dark for text. Pure red on black reaches about 5.25:1, and white on pure red about 4:1, which is enough for large text only.
Contrast of some common colour pairs| Text on background | Contrast ratio | Normal text | Large text |
|---|
| White on black | 21:1 | Passes | Passes |
|---|
| Grey #767676 on white | about 4.54:1 | Passes | Passes |
|---|
| Mid grey #777777 on white | about 4.48:1 | Just fails | Passes |
|---|
| Pure red on black | about 5.25:1 | Passes | Passes |
|---|
| White on pure red | about 4:1 | Fails | Passes |
|---|
| Pure blue on black | about 2.44:1 | Fails | Fails |
|---|
| Pure yellow on white | about 1.07:1 | Fails | Fails |
|---|
How do I keep text readable over a moving simulation?
A simulation's background changes from frame to frame, so a colour pair that passes at the start may fail when a bright burst passes behind the text. The reliable fixes do not depend on the background: put the text on a solid or semi-transparent panel, give light text a dark outline or shadow (and dark text a light one), or keep a calm area of the frame for text.
Size and weight matter as much as colour. Thin strokes lose contrast because their edges blend into the background, especially after video compression, which smooths fine detail and can smear colour at sharp edges. Heavier type and fewer words survive both the small screen and the compression.
Remember the parts of the screen you do not control. Apps draw their own buttons, names and captions over the bottom and right side of a vertical video, so text placed there can be covered as well as hard to read.
How do I design for colour-blind viewers?
Colour-vision deficiency changes which colours a person can tell apart. The most common kinds affect red and green, which can look alike, and they are much more common in men than in women. Rarer kinds affect blue and yellow, and a very small number of people see no colour at all. Colours that differ only in hue, at similar brightness, are the hardest: a red and a green that look completely different to most viewers can collapse into similar shades.
The fix is to never let colour carry information alone, a principle WCAG calls use of colour. Give teams names or numbers, different shapes or patterns, or different positions, and choose colours that also differ in brightness, so that they stay distinct in greyscale. Blue and orange are a popular pair because they stay distinguishable for the common red-green deficiencies, but check their brightness too: the common shades #3B82F6 and #F97316 differ by only about 1.31:1, so make one of them clearly lighter.
Line Arena shows the idea well: every contender has a name as well as a colour (Contender names), so the story survives even if two colours look alike. When you pick colours yourself, check them in greyscale or with a colour-blindness simulator, which many image editors and the developer tools of common browsers include.
How much flashing is safe?
Flashing light can trigger seizures in people with photosensitive epilepsy, and it is uncomfortable for many others. WCAG success criterion 2.3.1 says content should not flash more than three times in any one-second period, unless the flashing area is small enough to stay under its general and red flash thresholds. Saturated red flashes get extra caution in the standard because they are considered especially risky.
The standard counts a flash as a pair of opposing changes in brightness, bright then dark or dark then bright, large enough to notice. That makes frame rates easy to reason about. A full-screen strobe that switches between black and white on every frame of a 30 frames-per-second video makes 30 changes a second, which is 15 flashes, five times the limit. To stay at three flashes a second or fewer, each bright-dark cycle needs at least a third of a second: 10 frames at 30 frames per second, or 20 frames at 60.
Size matters too. A flash in a small corner of the screen is far less risky than one that fills it, and a phone is held close to the face, so a flash that fills the screen fills much of the viewer's field of view. Impact flashes and bursts in satisfying videos are usually brief, but a fast chain of them, such as dozens of collisions a second each flashing white, can add up to a strobe.
Many simulation games let you control this. Shape Merger has an Impact flash colour and an Impact glow and pop setting with Off, Subtle and Strong, and choosing Subtle or Off tones down a fast chain of crushes. Hive Burst breaks glass tiles in waves, so check its busiest moments frame by frame if you choose bright, high-contrast colours.
What about motion and sound?
Some viewers feel dizzy or sick from large, fast motion, such as rapid zooms, spins of the whole frame or a shaking camera. Satisfying clips are often calm by design, but if you use a camera move or a screen shake, keep it short and do not repeat it rapidly. Motion that fills the whole screen affects people more than motion inside a small area.
Sound has comfort limits too. Sudden loud peaks after quiet stretches are jarring, especially on headphones, so keep the level steady and avoid a final bang much louder than everything before it. Many people also watch with the sound off, so make sure the video still makes sense without it.
Does accessible design make a video look dull?
No. High contrast is what makes neon on black and white on a deep colour look striking in the first place, and clear labels make a battle easier to follow for everyone, not only for viewers with a disability. The changes are small: a darker shade, an outline on text, a name next to a colour, a softer flash. Mostly they make the video easier to understand at a glance, which is what a short video needs anyway.
A quick test: preview Shape Merger once with Impact glow and pop set to Strong and once with Subtle, watch both on your phone in a dark room, and decide which one you would rather watch twice.
Games for this guide
Shape Merger: Six original multiplying-ball and polygon crusher simulations with tunable physics. Pick a mode, set how many pieces each crush creates, how fast the crusher moves and how bouncy the balls are; the clip ends on its own when the container bursts.
Hive Burst CREATOR: A ball cracks a wall of glass tiles and every broken tile frees another ball, until the frame is full.
Line Arena: Balls fan coloured lines in a shrinking ring and steal rival lines: flags, sports teams, your names or photos.
Video makers for this
Questions
What contrast ratio should text in a video have?
At least 4.5:1 for normal text and 3:1 for large text, the WCAG minimums for web content. More is better on a phone, where glare and compression reduce contrast.
Is red and green a bad combination?
For the common red-green colour-vision deficiencies they can look alike, especially at similar brightness. If you use them, make one clearly lighter than the other and add names, numbers or shapes.
How many flashes per second are safe?
WCAG sets the limit at no more than three flashes in any one-second period for large flashing areas, with extra caution for saturated red. Fewer and smaller flashes are safer.
How do I check contrast without doing the maths?
Use a WCAG contrast checker: enter the text and background colours, and it reports the ratio and whether it passes for normal and large text.
Do these rules apply to video at all?
WCAG covers web content, including video on web pages. Where it is not a legal requirement, its formulas are still a practical, well-tested way to judge readability and flashing.