The Law has been promulgated on october 7, 2016 under this name LOI n° 2016-1321 du 7 octobre 2016 pour une République numérique.
Here is what the article 30 says (only this article 30 concerns Open Access)
Open access
Article 30
The chapter III of title III of the book V of the Research code is completed by an article L. 533-4 which reads as follows:
”Art. L. 533-4. - I. - When a scientific article, result of a research activity funded for at least half by the State, local authorities or public institutions, by national agencies or by European Union grant, is published in a journal which comes out at least once a year, his author has the right to provide, even if he has granted an exclusive right to a publisher, a free availability in an open format, via digital channels, subject to the agreement of possible co-authors, to all the successive versions of the manuscript till the final version accepted for publication, as soon as it is freely made available by the publisher via digital channels, or, failing that, within a set period starting from the first publication date. That period is a maximum of 6 months for a publication in sciences, technical sciences and medicine and 12 in humanities and social sciences.
The version made available in accordance with the first subparagraph cannot be commercially exploited.
“II. -When data result of a research activity funded for at least half by the State, local authorities or public institutions, by national agencies or by European Union grant are not protected by a specific right or a particular regulation and have been made public by the researcher, the institution or the research agency, their reuse is free.
“III.- The publisher of a scientific publication mentioned in the subparagraph I cannot limit the reuse of the research data made public in the publication.”
TDM
Article 38
The intellectual property code is modified as follows:
1° After the second subparagraph of the 9th subparagraph of the article L.122-5, a 10th subparagaph is inserted as follows:
[Once the work has been disclosed, the author can’t forbid: ]
“10° Electronic copies or reproductions realized from a legal original, for the purpose of text and data mining included or associated in a scientific publication for the needs of the public research, excluding commercial exploitation. A decree lays down the conditions in which text and data mining are employed, as well as the modalities of preservation and communication of the files produced at the end of the research activities for which they have been produced ; these files constitute research data ; “
2° After the 4th subparagraph of the article L. 342-3, a 5th subparagraph is inserted as follows:
“5° Electronic copies or reproductions of a database realized by someone who has a legal access to it, for the purpose of text and data mining included or associated to scientific publications for the needs of a research activity, excluding commercial exploitation. The preservation and the communication of the technical copies made during the process, at the end of the research activities for which they have been produced, are provided by institutions appointed by decree. Other copies or reproductions are destroyed.”
The Law in French here:
https://www.legifrance.gouv.fr/eli/loi/2016/10/7/ECFI1524250L/jo/texte