Interesting Brazilianite for shadcn/ui

Interesting Brazilianite is a shadcn/ui theme built around a green primary color (#39d450) with vivid blue accents (#1a83e6). The light mode uses a neutral background (#ffffff). Dark mode switches to a vivid green primary (#1ae61b) on a neutral background (#010404).

Color palette

TokenLightDark
Background
#ffffffwhite
#010404black
Foreground
#031111black
#f5fafamintcream
Card
#fdfffbwhite
#020702black
Card foreground
#020d0dblack
#f8fcfcmintcream
Popover
#ffffffwhite
#010404black
Popover foreground
#031111black
#f5fafamintcream
Primary
#39d450limegreen
#1ae61blimegreen
Primary foreground
#052e19black
#052e19black
Secondary
#60e2dfmediumturquoise
#1ae6e2darkturquoise
Secondary foreground
#052e2ddarkslategray
#052e2ddarkslategray
Muted
#d9e8e0gainsboro
#17261eblack
Muted foreground
#50685bdimgray
#97afa3darkgray
Accent
#1a83e6dodgerblue
#1a83e6dodgerblue
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#bd2a05firebrick
#f9471aorangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#eaebeblavender
#1e201fblack
Input
#eaebeblavender
#1e201fblack
Ring
#1ae6e2darkturquoise
#1ae6e2darkturquoise

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background19.22:1AAA
Text on card19.57:1AAA
Primary button7.57:1AAA
Secondary button9.33:1AAA
Muted text4.76:1AA
Accent3.87:1AA Large
Destructive6.01:1AA
Dark mode
Text on background19.56:1AAA
Text on card19.61:1AAA
Primary button8.77:1AAA
Secondary button9.37:1AAA
Muted text6.73:1AA
Accent3.87:1AA Large
Destructive3.53:1AA Large

CSS variables

Paste this into your globals.css to use Interesting Brazilianite in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.165 0.022 193.954);
  --muted: oklch(0.917 0.019 163.753);
  --muted-foreground: oklch(0.493 0.035 162.329);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.165 0.022 193.954);
  --card: oklch(0.997 0.005 133.374);
  --card-foreground: oklch(0.147 0.019 194.135);
  --border: oklch(0.94 0.001 195.949);
  --input: oklch(0.94 0.001 195.949);
  --primary: oklch(0.764 0.215 145.282);
  --primary-foreground: oklch(0.267 0.059 155.991);
  --secondary: oklch(0.839 0.114 193.414);
  --secondary-foreground: oklch(0.274 0.043 192.486);
  --accent: oklch(0.606 0.174 252.511);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.521 0.188 33.329);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.836 0.141 192.863);
  --chart-1: oklch(0.764 0.215 145.282);
  --chart-2: oklch(0.839 0.114 193.414);
  --chart-3: oklch(0.606 0.174 252.511);
  --chart-4: oklch(0.85 0.107 193.586);
  --chart-5: oklch(0.772 0.222 145.105);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.098 0.008 194.811);
  --foreground: oklch(0.981 0.006 195.873);
  --muted: oklch(0.252 0.025 161.429);
  --muted-foreground: oklch(0.733 0.032 163.119);
  --popover: oklch(0.098 0.008 194.811);
  --popover-foreground: oklch(0.981 0.006 195.873);
  --card: oklch(0.119 0.024 142.831);
  --card-foreground: oklch(0.987 0.004 195.907);
  --border: oklch(0.24 0.003 195.774);
  --input: oklch(0.24 0.003 195.774);
  --primary: oklch(0.803 0.266 142.613);
  --primary-foreground: oklch(0.267 0.059 155.991);
  --secondary: oklch(0.837 0.141 192.52);
  --secondary-foreground: oklch(0.274 0.043 192.486);
  --accent: oklch(0.606 0.174 252.511);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.653 0.221 34.167);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.836 0.141 192.863);
  --chart-1: oklch(0.803 0.266 142.613);
  --chart-2: oklch(0.837 0.141 192.52);
  --chart-3: oklch(0.606 0.174 252.511);
  --chart-4: oklch(0.843 0.139 192.672);
  --chart-5: oklch(0.813 0.271 142.588);
}