Why Are Subtitles Yellow? Subtitle Colors and Hex Codes
Why are subtitles yellow? Broadcasters use yellow to tell speakers apart, not because it reads better. The colours, their hex codes and what keeps text legible.
Subtitles are yellow mostly by convention, not because yellow is easier to read. British broadcast subtitling uses white by default and yellow, cyan and green to tell speakers apart, with the narrator in yellow. Against bright footage, white text has slightly more contrast than yellow; the black outline or box behind the letters is what makes either colour readable.
If your own subtitles turned yellow on Netflix, Apple TV or YouTube, the cause is almost always a caption setting on your profile or device rather than the video. Below: what broadcasters and streamers specify, our contrast calculations for white, yellow, cyan and green, the hex and ASS codes for each colour, and which one to use when you style your own subtitles.
Subtitle colours: what broadcasters and streamers use
| Who decides | Default | Other colours | What the other colours are for |
|---|---|---|---|
| BBC broadcast subtitles | White on black | Yellow, cyan, green | Telling speakers apart |
| Netflix delivered subtitles | White | None specified | — |
| YouTube player | Viewer's choice | Any, per viewer | The viewer's own preference |
| Netflix player | Viewer's choice | Background colour, shadow, font | The viewer's own preference |
| Apple TV | Viewer's choice | Any, in a custom style | The viewer's own preference |
The first row is where yellow comes from. The BBC's subtitle guidelines say most subtitles are white text on a black background "to ensure optimum legibility", and allow a short list of colours for distinguishing speakers, in order of priority: white, yellow, cyan and green. A speaker keeps the same colour for the whole programme, white can be used for any number of speakers, and by convention the narrator is yellow.
Netflix goes the other way. Its English (USA) style guide sets the font colour to white and identifies speakers with labels and dashes instead of colour. Every other row hands the decision to the viewer: what you see on a streaming service is the caption style set on your profile or your device.
Why are subtitles yellow on your screen?
There are three common causes, and only one of them is in the video.
A caption style setting. Each platform lets the viewer restyle subtitles, and a style set once applies to everything:
- YouTube: in the player, Settings, then Subtitles/CC, then Options. YouTube's help lists the font, colour, opacity and size, the background colour, the window colour and the character edge style.
- Netflix: on the web, Account, then Profiles, then Subtitle appearance. Netflix's help lists the font, size, shadow and background colour, and notes that TVs offer only size and style and that some devices cannot change the appearance at all.
- Apple TV: Settings, Accessibility, Subtitles and Captioning, then Style. Apple's guide lets you pick a preset or build a custom style with font, size, colour, background colour and opacity.
A styled subtitle track. An ASS track or a soft-subtitled MKV can carry its own colours, and a player that renders them shows them as authored.
Speaker colours. On British television and in some SDH files, yellow is a speaker or the narrator, not a style choice.
Does yellow read better than white?
Not on bright footage, by the numbers. We calculated the WCAG 2 contrast ratio, the measure web accessibility guidelines use, for each subtitle colour against black and against three lighter backgrounds, mid grey, light grey and white, standing in for increasingly bright footage. WCAG asks for at least 4.5:1 for normal text.
| Text colour | Hex | On black | On mid grey (#808080) | On light grey (#C0C0C0) | On white |
|---|---|---|---|---|---|
| White | #FFFFFF | 21.0:1 | 3.95:1 | 1.82:1 | 1.0:1 |
| Yellow | #FFFF00 | 19.6:1 | 3.68:1 | 1.69:1 | 1.07:1 |
| Cyan | #00FFFF | 16.8:1 | 3.15:1 | 1.45:1 | 1.25:1 |
| Green | #00FF00 | 15.3:1 | 2.88:1 | 1.33:1 | 1.37:1 |
Two things stand out. On black, every colour passes easily. Against mid-grey or brighter footage, none of them comes close to 4.5:1, and white keeps a small lead over yellow, because yellow is a little darker than white. The popular idea that yellow survives bright scenes better than white does not hold on contrast.
What rescues both is the dark edge. A black outline or box puts black directly behind every letter, so the readable column is always the first one, whatever the footage does. That is why the BBC requires a black background for all four of its colours, and why the outline-or-box choice matters more than the colour.
Contrast ratios measure brightness, not hue. Yellow's practical advantage is that it looks different from white: it separates subtitles from white on-screen text, white credits or a white wall, and it separates one speaker from another.
Subtitle color codes: hex and ASS
| Colour | Hex (HTML, TTML) | ASS colour tag |
|---|---|---|
| White | #FFFFFF | \c&HFFFFFF& |
| Yellow | #FFFF00 | \c&H00FFFF& |
| Cyan | #00FFFF | \c&HFFFF00& |
| Green | #00FF00 | \c&H00FF00& |
| Black (outline or box) | #000000 | \c&H000000& |
ASS, the styled subtitle format, writes colours in blue-green-red order, the reverse of HTML hex, which is why yellow #FFFF00 becomes &H00FFFF&. Aegisub's documentation lists \1c for the text fill, \3c for the outline and \4c for the shadow. A line with a yellow override looks like this:
{\c&H00FFFF&}Where were you last night?
An SRT file has no standard colour setting of its own, and YouTube and Netflix restyle uploaded files anyway. A colour you choose only reaches every viewer in two cases: an ASS track rendered by a player that supports it, or subtitles burned into the picture. The trade-off between those two is covered in hardsub vs softsub.
Which subtitle colour should you use?
"Subtitles for a film, a course or an interview." White with a black outline or a box. It has the most contrast and nobody notices it, which is the point.
"Several speakers who are hard to tell apart." The BBC order: white, then yellow, cyan and green, one colour per speaker, kept for the whole video.
"Footage full of white signs, snow or bright sky." Yellow with a black outline, so the subtitles do not merge with white text in the picture.
"Short captions for Reels, TikTok or Shorts." Colour as emphasis, with white for most words and one highlighted word, as in Hormozi-style captions.
"An SRT for YouTube." None. Each viewer's player picks the colour.
Subtitle colours in Sablate
Sablate's style panel has six colour swatches, white, yellow (#FFE000), cyan, pink, neon green and black, plus a colour picker for any other value, so the BBC's exact #FFFF00 is one entry away. The outline has its own colour and width, and the text can sit on a box with adjustable opacity. Two of the 13 presets cover the classic looks: Classic puts white text in a soft dark box, and Cinema uses a warm yellow serif with a black outline. Each language layer keeps its own style, and the colour you approve in the preview is the colour the burn-in draws.
Where it falls short:
| Sablate | Aegisub | |
|---|---|---|
| One colour for a whole language | Yes | Yes, through a style |
| Colour per speaker or per cue | No, one style per layer | Yes |
| Burned-in output with the same colours | Yes | No, it writes ASS files |
Sablate styles a whole language layer, not single cues, so BBC-style speaker colours are out of reach in it. For that, write the subtitles in Sablate, export an .ass file, which is part of Pro, and assign the speaker colours in Aegisub.
The short version
Subtitles are yellow by convention: British broadcasters use yellow, after white, to tell speakers apart. On a streaming service, yellow usually means a caption style on your profile or device. White has slightly more contrast than yellow on bright footage, and neither is readable there without a black outline or box. Use white for dialogue, yellow to separate a speaker or to stand out from white on-screen text, and #FFFF00, or &H00FFFF& in ASS, when you need the exact code. Download Sablate to try both on your own video.
Frequently asked questions
Why are subtitles yellow?
Mostly by convention. In British broadcast subtitles, yellow is the second speaker colour after white and is used to tell speakers apart, with the narrator shown in yellow. If subtitles turned yellow on your streaming service, a caption style setting on your profile or device is usually the cause.
What is the hex code for yellow subtitles?
#FFFF00. It is the yellow in the BBC's subtitle guidelines, next to white #FFFFFF, cyan #00FFFF and green #00FF00. ASS subtitle files write colours in blue-green-red order, so the same yellow becomes &H00FFFF& in a colour override tag.
Is white or yellow better for subtitles?
White, for most video, as long as it has a black outline or box. White has slightly more contrast than yellow against bright and mid-grey footage, and both need a dark edge to be readable there. Yellow helps when you need to tell a second speaker apart or keep subtitles distinct from white on-screen text.
How do I change the subtitle colour on Netflix?
In a web browser, open your Account page, choose Profiles, pick the profile and open Subtitle appearance. Netflix lets you change the font, size, shadow and background colour there. On TVs the player offers only size and style, and some devices do not support changing the appearance.
Why are my subtitles yellow on Apple TV?
Usually because of the caption style chosen in the device settings. On Apple TV, go to Settings, Accessibility, Subtitles and Captioning, then Style, and pick another style or edit the custom one, which sets the font, size, colour, background colour and opacity.