Yellow on black tends to make the writing “shrink” for me, lowering the readability.
Yellow on black tends to make the writing “shrink” for me, lowering the readability.
Also the switching of the FG and BG colors was just an example I could think of in the moment to get something like "dark mode" with minimal effort. In practice I'd probably go with a somewhat "off-white"(?) FG on a medium-dark grey BG. IMO a less bright white text color in this scenario does well in eliminating the "shrinking" you speak of while the contrast with the muted grey BG isn't too harsh.
We seem to have slightly different access needs. This highlights the richness of working on accessibility problems. No one solution suits everyone, and there isn’t even a “accessible” and “not-accessible” pair that covers all bases either.