Consumers have become increasingly interested in green food as their environmental knowledge has improved since the COVID-19 pandemic. Examining variables that affect green food usage is thus crucial. However, there is a literature gap in this matter, i.e., studies that examine the role of ICTs on consumer’s green knowledge and behavior toward green food remain scarce as prior studies focused on the role of internal factors such as risk perception, motivations, food neophobia, and consumers’ trust. This study seeks to investigate in what way consumers’ green knowledge influence their purchases of green food and how ICT usages moderate this link. This research aims to test the theoretical framework through the construction of a Hidden Markov Framework (HMF). In various usages of information and communication technologies (ICTs), the utilization likelihood of green food with varying green knowledge are calculated using the HMF. Additionally, the shift likelihood of green food buying is computed using a dynamical period cycle. Furthermore, the notions of continuity, reliance, and willingness in green food utilization are explained and calculated in this research. In order to confirm the accurateness of the likelihood computation and the consistency of the HMF, the method is utilized to predict the consumer behaviors of the actual situation. The findings verify that the usage of ICTs has a moderating influence on the positive correlation between consumer’s green knowledge and their behavior toward green food. Future studies can use our framework in different contexts such as another emerging country or another green product, and test the framework using different analytical tools such as Artificial Neural Networks and different approaches such as Multi-criteria Decision Making.