PreviewingGo to this paletteOpen in generator
Code
/* Space Camp — colorset.net */
:root {
--color-1: #121A33;
--color-2: #FFB84C;
--color-3: #5BD1D7;
--color-4: #27315A;
--color-5: #EEF1FB;
--color-bg: #EEF1FB;
--color-surface: #F7F8FE;
--color-border: #D4D8E6;
--color-text: #121A33;
--color-muted: #636C85;
--color-primary: #BC7E00;
--color-on-primary: #121A33;
--color-accent: #27315A;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #121A33;
--color-surface: #1C253F;
--color-border: #333B51;
--color-text: #EEF1FB;
--color-muted: #8C8F98;
--color-primary: #FFB84C;
--color-on-primary: #121A33;
--color-accent: #616E9C;
--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 | from palette · color 5 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FFB84C | from palette · color 2 |
| On primary | derived | derived |
| Accent | from palette · color 4 | adjusted for contrast · from #27315A |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.24:1 | AAA pass 4.5:1 | |
| Text on surface | 16.22:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.64:1 | AA pass 4.5:1 | |
| Label on primary | 5.01:1 | AA pass 4.5:1 | |
| Label on accent | 12.55:1 | AAA pass 4.5:1 | |
| Primary on background | 3.04:1 | AA Large pass 3:1 | |
| Accent on background | 11.12:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.24:1 | AAA pass 4.5:1 | |
| Text on surface | 13.43:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.32:1 | AA pass 4.5:1 | |
| Label on primary | 10.00:1 | AAA pass 4.5:1 | |
| Label on accent | 4.98:1 | AA pass 4.5:1 | |
| Primary on background | 10.00:1 | AAA pass 3:1 | |
| Accent on background | 3.45: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 | #121A33 (Text 1) | #FFB84C (Text 2) | #5BD1D7 (Text 3) | #27315A (Text 4) | #EEF1FB (Text 5) |
|---|---|---|---|---|---|
| #121A33 | Same color | 10.00AAA | 9.45AAA | 1.37— | 15.24AAA |
| #FFB84C | 10.00AAA | Same color | 1.06— | 7.30AAA | 1.52— |
| #5BD1D7 | 9.45AAA | 1.06— | Same color | 6.90AA | 1.61— |
| #27315A | 1.37— | 7.30AAA | 6.90AA | Same color | 11.12AAA |
| #EEF1FB | 15.24AAA | 1.52— | 1.61— | 11.12AAA | Same color |
Shades
Shades and tints (50–950)
