Innocent Transparent Yellow is a shadcn/ui theme built around a vivid light yellow primary color (#ffeea8) with vivid light blue accents (#a8baff). The light mode uses a neutral background (#fcfbf7). Dark mode keeps the vivid light yellow primary (#ffeea8) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfbf7snow | #000000black |
| Foreground | #050401black | #fdfdfbsnow |
| Card | #fbfaf4floralwhite | #030303black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fbfaf4floralwhite | #030303black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #ffeea8moccasin | #ffeea8moccasin |
| Primary foreground | #0f0c00black | #0f0c00black |
| Secondary | #a8bafflightsteelblue | #a8bafflightsteelblue |
| Secondary foreground | #001775navy | #001775navy |
| Muted | #dfe1e7gainsboro | #181a20black |
| Muted foreground | #3d404cdarkslategray | #b3b6c2silver |
| Accent | #a8bafflightsteelblue | #a8bafflightsteelblue |
| Accent foreground | #001775navy | #001775navy |
| Destructive | #701a01maroon | #fe501borangered |
| Destructive foreground | #ffb9a4lightpink | #ffffffwhite |
| Border | #e2e2dfgainsboro | #1e1d1ablack |
| Input | #e2e2dfgainsboro | #1e1d1ablack |
| Ring | #ffeea8moccasin | #ffeea8moccasin |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.86:1 | AAA |
| Text on card | 20.02:1 | AAA |
| Primary button | 16.78:1 | AAA |
| Secondary button | 8.05:1 | AAA |
| Muted text | 7.86:1 | AAA |
| Accent | 8.05:1 | AAA |
| Destructive | 6.93:1 | AA |
| Text on background | 20.61:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 16.78:1 | AAA |
| Secondary button | 8.05:1 | AAA |
| Muted text | 8.61:1 | AAA |
| Accent | 8.05:1 | AAA |
| Destructive | 3.30:1 | AA Large |
Paste this into your globals.css to use Innocent Transparent Yellow in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.005 95.097);
--foreground: oklch(0.103 0.017 100.574);
--muted: oklch(0.909 0.009 274.917);
--muted-foreground: oklch(0.375 0.021 274.271);
--popover: oklch(0.983 0.008 95.128);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.983 0.008 95.128);
--card-foreground: oklch(0 0 0);
--border: oklch(0.911 0.004 95.086);
--input: oklch(0.911 0.004 95.086);
--primary: oklch(0.946 0.089 95.778);
--primary-foreground: oklch(0.155 0.032 100.228);
--secondary: oklch(0.8 0.101 273.139);
--secondary-foreground: oklch(0.281 0.159 263.862);
--accent: oklch(0.8 0.101 273.139);
--accent-foreground: oklch(0.281 0.159 263.862);
--destructive: oklch(0.361 0.123 35.916);
--destructive-foreground: oklch(0.845 0.087 37.62);
--ring: oklch(0.946 0.089 95.778);
--chart-1: oklch(0.946 0.089 95.778);
--chart-2: oklch(0.8 0.101 273.139);
--chart-3: oklch(0.8 0.101 273.139);
--chart-4: oklch(0.835 0.082 273.613);
--chart-5: oklch(0.949 0.092 95.783);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.994 0.002 95.059);
--muted: oklch(0.218 0.013 274.252);
--muted-foreground: oklch(0.776 0.017 274.749);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--card-foreground: oklch(1 0 180);
--border: oklch(0.231 0.005 95.285);
--input: oklch(0.231 0.005 95.285);
--primary: oklch(0.946 0.089 95.778);
--primary-foreground: oklch(0.155 0.032 100.228);
--secondary: oklch(0.8 0.101 273.139);
--secondary-foreground: oklch(0.281 0.159 263.862);
--accent: oklch(0.8 0.101 273.139);
--accent-foreground: oklch(0.281 0.159 263.862);
--destructive: oklch(0.669 0.218 35.756);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.946 0.089 95.778);
--chart-1: oklch(0.946 0.089 95.778);
--chart-2: oklch(0.8 0.101 273.139);
--chart-3: oklch(0.8 0.101 273.139);
--chart-4: oklch(0.835 0.082 273.613);
--chart-5: oklch(0.949 0.092 95.783);
}