Default leather color not working

I have made a resource pack that adds custom hats using a blockbench model replacing leather helmets. summoned with: give @a minecraft:leather_helmet[equippable={slot:head,damage_on_hurt:0b},item_model="custom:hat"]

Everything works once a dye is applied, but for some reason the default color isn't working. Any tinted model faces are invisible instead of using the default color.

{ "model": { "type": "minecraft:model", "model": "custom:item/hat", "tints": [ { "type": "minecraft:dye", "default": 14874362 } ] } }

Continue to help post