The Web Content Accessibility Guidelines (WCAG) colour contrast information is great but it is limited.

You should test and consider more around colour including how colour blindness affects contrast.

Can read the overview of the guidelines here:
https://www.w3.org/TR/2008/REC-WCAG20-20081211/

Web Content Accessibility Guidelines (WCAG) 2.0

@randomColorContrasts also good to consider issues like photophobia or brightness sensitivity. Like many older people staring at screens over the last few years, I find bright blocks of fluoro colours or scrolling banners or autoplay videos give me headaches and I can't take in the information. Please pre-test websites and layouts for accessibility with a range of people with different communication needs.
@Kay @randomColorContrasts autoplay videos are the worst thing to happen to the internet since pop-up ads. I came here TO READ; do not play me a video.