Green, Red and Yellow Bell Peppers: Ripeness Is Only Part of the Story
Green bell peppers are commonly harvested before their final ripe color develops. But not every pepper follows a green-to-yellow-to-red sequence. The variety determines the eventual color, which can include red, yellow or orange.

Separate variety from maturity
University of Maryland Extension describes multiple ripe colors and a usable green harvest stage. A yellow cultivar can be ripe while yellow. Do not classify every yellow pepper as an unfinished red pepper.
Choose the flavor for the dish
Sweet pepper varieties generally become sweeter as they mature on the plant. A green pepper can therefore give a different flavor from a fully colored one. For a familiar recipe, decide whether that change suits the dish.
Do not use color as a heat scale
Bell peppers belong to the sweet pepper group. Red does not automatically mean hot, and green does not automatically mean mild across all pepper types. Check the pepper’s name before substituting a chile.
Compare prepared quantities
If swapping colors in an ordinary chopped-pepper dish, keep the requested prepared quantity. Remove the stalk and seed core before weighing the usable pieces. Different-sized whole peppers are not a dependable volume measure.
Sources
University of Maryland Extension.