Custom editor color palette colors are not appearing in the editor

I noticed that you’re using a child theme of Twenty Twenty-One, which also registers custom editor color palette using the same hook and priority (i.e. 10), so try using 11 or greater as the action’s priority:

add_action( 'after_setup_theme', 'add_custom_gutenberg_color_palette', 11 );