This image has an insufficient contrast ratio (~1.7:1) against its background:

Image of a low contrast apple

Note: Hard to automatically test or detect. Requires a human tester or AI to visually examine and compare (e.g. using a color picker tool) the contrast ratio of an image against its background.