When using the darkness potion effect in a very dark place or simply at night, with the "Darkness Pulsing" accessibility option set to maximum, you may notice that the chat, the F3 key, the pause menu text, and objects appear dark.
This bug persists in the game, and when I first reported it, it was marked as "resolved." On the Minecraft.net page, along with the report for snapshot 25w35a, it said it was "resolved," but it isn't, and the bug is still active.
This can be confirmed in Minecraft version 25w35a. It hasn't been fixed.