CSS code for the cbackground color

Hi

I am creating a custom button element, but I can’t seem to get the background color to match the brand. This is what I have.

background-color: rgb(var(–color-brand-500));
color: rgb(var(–color-surface-50));

The text is black, but nothing shows in the background of the button.

Thanks for the help.

Blessings,
–Mark