--- title: Brand colors description: The “Brand Colors” section defines primary brand hues with contrast-friendly shades for accessibility. menuSortOrder: 50 --- An Envision theme uses one base brand color and one matching contrast color. - **Brand color** is the primary color for the theme. - **Brand contrast color** is the text/icon color used on top of the brand color. - From the base brand color, Envision generates a palette of lighter and darker variants. - Each palette color has a matching contrast color verified against **WCAG 2 AA**. [The default theme](/colors/brand-colors/#default-brand-color-palette) uses a neutral brand color. ## Palette rules The brand palette follows these rules: - `--env-ui-color-brand` is the base brand color. - `--env-ui-color-brand-{n}` are generated variants of the base brand color. - The scale is ordered from lighter to darker variants in a normal theme. - Each palette value has a matching contrast variable that meets **WCAG 2 AA** requirements. In dark themes, where the font color is lighter than the section background color, the scale is reversed: - `05` is the darkest variant - `100` is the lightest variant ## Usage Use the generated brand palette (CSS variables or utility classes) for components and UI states that should follow the active theme branding. Typical branded usage includes: - buttons - badges - dropdown triggers - popovers - progress indicators - highlighted UI sections ## Example branding of components The following examples are visual demonstrations and do not define the color system.
Caption
Section heading