When studying light, one of the most popular images of the visible spectrum is this:
Here is a classification of the range of the wavelenght that correspond to each color:
Although it may be subjective wheter the boundaries between every color are well defined and actually it is a continuum, it is noticeable both in this table and in our perception that the wavelenght range, for example, of the colour "yellow" is very narrow (~570-590nm/[~20nm]), when compared to the big range of wavelenghts that are known by "red" (~620-750nm/[~130nm]).
To give another example, I'm gonna talk about a range of 100nm, starting from different points of the spectra. The blue we see at 480nm is perceived way differently from the colour we see at 580nm, that is yellow. Despite that, the red colour at 640nm seems pretty the same as the - also red - colour at 740nm.
What are the physical, biological and psychological reasons for this?
I found a website that explains that our eyes have more sensitive red and green cones than the blue ones and that is an possible explanation for why does yellow seems brighter. But I don't know if that explains also the reason why there are different ranges of what we perceive by the "same" colour. Here is what I found: https://rockcontent.com/blog/the-use-of-yellow-in-data-design/