[THIS BUG WAS ONLY TESTED IN DARK OAK PLANKS IN VERSION 1.17.1, THIS POST WILL BE UPDATED AS I TEST IT MORE]
Hello! I was doing a creative build when i realized that yellow particled showed up when I fell in dark oak planks. I thought this could be an OptiFine/Resource Pack problem, since i usually play with this two, but i entered in Vanilla Minecraft 1.17.1 without any resource packs/data packs (anything, in general) and the problem was still there. This only happens sometimes though, because when i tested it more I realized that, in the same decimal coordinates (this is not shown in the video below) particles just didn't show.
I am posting a video that, hopefully, will serve as a proof and as a tutorial to replicate this issue. Hope this is helpful!
(The video is too big, so I am posting a YouTube link: https://youtu.be/_8kCNUv0s2o )
Related issues
Comments

Thank you for your report!
We're tracking this issue in MC-122547, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.
Duplicate of MC-122547. You are experiencing this issue because light blocks are nearby.