PreviewingGo to this paletteOpen in generator
Code
/* Black Cat Alley — colorset.net */
:root {
--color-1: #121212;
--color-2: #F5A623;
--color-3: #E9E4D8;
--color-4: #3A3A3A;
--color-5: #8C5A2B;
--color-bg: #F8F7F3;
--color-surface: #EFEDEA;
--color-border: #D7D5CE;
--color-text: #121212;
--color-muted: #676767;
--color-primary: #A36B00;
--color-on-primary: #FFFFFF;
--color-accent: #3A3A3A;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #121212;
--color-surface: #1C1C1C;
--color-border: #333031;
--color-text: #E9E4D8;
--color-muted: #878378;
--color-primary: #F5A623;
--color-on-primary: #121212;
--color-accent: #676767;
--color-on-accent: #FFFFFF;
}
}
Color values
| Color | HEX | RGB | HSL | OKLCH |
|---|---|---|---|---|
| 1 | ||||
| 2 | ||||
| 3 | ||||
| 4 | ||||
| 5 |
Roles & contrast
Original colors are kept; roles are adjusted only when needed for contrast.
| Role | Light mode | Dark mode |
|---|---|---|
| Background | adjusted for contrast · from #E9E4D8 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 3 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #8C5A2B | from palette · color 2 |
| On primary | derived | derived |
| Accent | from palette · color 4 | adjusted for contrast · from #8C5A2B |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.48:1 | AAA pass 4.5:1 | |
| Text on surface | 16.03:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.28:1 | AA pass 4.5:1 | |
| Label on primary | 4.51:1 | AA pass 4.5:1 | |
| Label on accent | 11.37:1 | AAA pass 4.5:1 | |
| Primary on background | 4.20:1 | AA Large pass 3:1 | |
| Accent on background | 10.61:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.77:1 | AAA pass 4.5:1 | |
| Text on surface | 13.43:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 9.24:1 | AAA pass 4.5:1 | |
| Label on accent | 5.66:1 | AA pass 4.5:1 | |
| Primary on background | 9.24:1 | AAA pass 3:1 | |
| Accent on background | 3.31:1 | AA Large pass 3:1 |
Every color on every color
Rows are backgrounds and columns are text colors, using the actual palette colors. Ratios: AAA 7:1, AA 4.5:1, AA large text 3:1.
| Background / Text | #121212 (Text 1) | #F5A623 (Text 2) | #E9E4D8 (Text 3) | #3A3A3A (Text 4) | #8C5A2B (Text 5) |
|---|---|---|---|---|---|
| #121212 | Same color | 9.24AAA | 14.77AAA | 1.65— | 3.22AA Large |
| #F5A623 | 9.24AAA | Same color | 1.60— | 5.61AA | 2.87— |
| #E9E4D8 | 14.77AAA | 1.60— | Same color | 8.97AAA | 4.58AA |
| #3A3A3A | 1.65— | 5.61AA | 8.97AAA | Same color | 1.96— |
| #8C5A2B | 3.22AA Large | 2.87— | 4.58AA | 1.96— | Same color |
Shades
Shades and tints (50–950)
