UKRI compliant? You're good to go.
The following is in UKRI's official FAQ (checked 06/03/25):
The four UK higher education funding bodies (Research England, Scottish Funding Council, Medr: the Commission for Tertiary Education and Research and Department for the Economy, Northern Ireland) consider a UKRI open access compliant publication to meet the REF policy without additional action from the author or institution.
If you are compliant with the UKRI funder's policy, you will be able to submit your outputs to the REF with no further action.
Other funders
There is much similarity between UKRI policies and those of others, such as Wellcome. It is likely that if you are compliant with these funders you will need to take no further action to ensure REF compliance, but it is crucial that you assess the funder policy vs REF requirements to ensure this.