Theme generator
Build a complete shadcn/ui theme - light + dark - from one brand color.
Build a complete shadcn/ui theme - light + dark - from one brand color.
A theme generator turns one brand color into a complete UI theme: light and dark token sets with backgrounds, surfaces, borders, text and accent colors that meet contrast requirements. This one outputs shadcn/ui, CSS variables and Tailwind formats.
The generator derives the whole theme in OKLCH so lightness steps are even. From the brand color it builds a primary scale, picks neutrals with a hint of the brand hue, sets semantic colors for success, warning and danger, and checks every text-on-surface pair against WCAG AA. The dark theme is derived separately rather than inverted, which keeps saturated colors from glowing on dark backgrounds.
Every token is editable, and the preview shows real components (buttons, cards, inputs, alerts) in both themes before you export.
shadcn/ui globals.css, plain CSS custom properties, a Tailwind v4 @theme block, and JSON design tokens (W3C format).
Text and surface pairs are generated to meet WCAG AA (4.5:1 for body text). The contrast matrix tool shows every pair if you want to verify or push to AAA.
Yes. Use Logo to Theme to extract the brand color from a logo file, then send it here to build the full theme.