Minecraft wiki entry for Development_versions, associated text: A new accessibility slider has been added in the options menu called “Darkness Effect”.
It controls how dark the Darkness effect gets when a Warden or Sculk Shrieker gives it to the player.