Yellow Bell Pepper Swift - 3 is a shadcn/ui theme built around a vivid yellow primary color (#ffdd33) with vivid green accents (#33ec40). The light mode uses a neutral background (#f7f7fd). Dark mode keeps the vivid yellow primary (#ffdd33) on a neutral background (#030208).
| Token | Light | Dark |
|---|---|---|
| Background | #f7f7fdghostwhite | #030208black |
| Foreground | #050410black | #fcfcfdwhite |
| Card | #f3f3fcaliceblue | #04040cblack |
| Card foreground | #04030cblack | #ffffffwhite |
| Popover | #f7f7fdghostwhite | #030208black |
| Popover foreground | #050410black | #fcfcfdwhite |
| Primary | #ffdd33gold | #ffdd33gold |
| Primary foreground | #000000black | #ffffffwhite |
| Secondary | #f96258tomato | #f96258tomato |
| Secondary foreground | #1e0301black | #1e0301black |
| Muted | #ddd5d4lightgrey | #2b2222darkslategray |
| Muted foreground | #6a5958dimgray | #a79795rosybrown |
| Accent | #33ec40limegreen | #33ec18limegreen |
| Accent foreground | #011e03black | #011e03black |
| Destructive | #ff2121crimson | #ff2121crimson |
| Destructive foreground | #feebe7linen | #ffffffwhite |
| Border | #e9e9eclavender | #1f1e24black |
| Input | #e9e9eclavender | #1f1e24black |
| Ring | #6258f9mediumslateblue | #6258f9mediumslateblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.06:1 | AAA |
| Text on card | 18.58:1 | AAA |
| Primary button | 15.64:1 | AAA |
| Secondary button | 6.48:1 | AA |
| Muted text | 4.56:1 | AA |
| Accent | 11.15:1 | AAA |
| Destructive | 3.32:1 | AA Large |
| Text on background | 20.12:1 | AAA |
| Text on card | 20.45:1 | AAA |
| Primary button | 1.34:1 | Fail |
| Secondary button | 6.48:1 | AA |
| Muted text | 5.53:1 | AA |
| Accent | 11.06:1 | AAA |
| Destructive | 3.82:1 | AA Large |
Paste this into your globals.css to use Yellow Bell Pepper Swift - 3 in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.978 0.008 289.323);
--foreground: oklch(0.121 0.028 285.519);
--muted: oklch(0.879 0.01 22.337);
--muted-foreground: oklch(0.481 0.021 22.765);
--popover: oklch(0.978 0.008 289.323);
--popover-foreground: oklch(0.121 0.028 285.519);
--card: oklch(0.967 0.012 289.241);
--card-foreground: oklch(0.109 0.024 286.03);
--border: oklch(0.935 0.004 289.391);
--input: oklch(0.935 0.004 289.391);
--primary: oklch(0.9 0.174 96.856);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.689 0.186 27.128);
--secondary-foreground: oklch(0.156 0.051 32.243);
--accent: oklch(0.825 0.254 143.523);
--accent-foreground: oklch(0.203 0.062 144.379);
--destructive: oklch(0.638 0.248 28.09);
--destructive-foreground: oklch(0.953 0.022 31.1);
--ring: oklch(0.568 0.231 279.05);
--chart-1: oklch(0.568 0.231 279.05);
--chart-2: oklch(0.689 0.186 27.128);
--chart-3: oklch(0.867 0.235 144.207);
--chart-4: oklch(0.71 0.17 26.384);
--chart-5: oklch(0.565 0.238 278.546);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.097 0.019 286.485);
--foreground: oklch(0.991 0.002 289.449);
--muted: oklch(0.263 0.013 22.841);
--muted-foreground: oklch(0.689 0.019 22.549);
--popover: oklch(0.097 0.019 286.485);
--popover-foreground: oklch(0.991 0.002 289.449);
--card: oklch(0.111 0.022 286.425);
--card-foreground: oklch(1 0 180);
--border: oklch(0.24 0.01 288.677);
--input: oklch(0.24 0.01 288.677);
--primary: oklch(0.9 0.174 96.856);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.689 0.186 27.128);
--secondary-foreground: oklch(0.156 0.051 32.243);
--accent: oklch(0.822 0.269 141.714);
--accent-foreground: oklch(0.203 0.062 144.379);
--destructive: oklch(0.638 0.248 28.09);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.568 0.231 279.05);
--chart-1: oklch(0.568 0.231 279.05);
--chart-2: oklch(0.689 0.186 27.128);
--chart-3: oklch(0.867 0.235 144.207);
--chart-4: oklch(0.71 0.17 26.384);
--chart-5: oklch(0.565 0.238 278.546);
}