PreviewingGo to this paletteOpen in generator
Code
/* Comet Tail — colorset.net */
:root {
--color-1: #0E1630;
--color-2: #9AD0EC;
--color-3: #F7B267;
--color-4: #233157;
--color-5: #EEF4FA;
--color-bg: #EEF4FA;
--color-surface: #F7FBFF;
--color-border: #D3DCE4;
--color-text: #0E1630;
--color-muted: #616A82;
--color-primary: #BE7D2E;
--color-on-primary: #0E1630;
--color-accent: #233157;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0E1630;
--color-surface: #18213C;
--color-border: #2F374D;
--color-text: #EEF4FA;
--color-muted: #898F94;
--color-primary: #F7B267;
--color-on-primary: #0E1630;
--color-accent: #5A6B96;
--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 #F7B267 | from palette · color 3 |
| On primary | derived | derived |
| Accent | from palette · color 4 | adjusted for contrast · from #233157 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.12:1 | AAA pass 4.5:1 | |
| Text on surface | 17.17:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.87:1 | AA pass 4.5:1 | |
| Label on primary | 5.24:1 | AA pass 4.5:1 | |
| Label on accent | 12.74:1 | AAA pass 4.5:1 | |
| Primary on background | 3.08:1 | AA Large pass 3:1 | |
| Accent on background | 11.50:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.12:1 | AAA pass 4.5:1 | |
| Text on surface | 14.34:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.46:1 | AA pass 4.5:1 | |
| Label on primary | 9.79:1 | AAA pass 4.5:1 | |
| Label on accent | 5.28:1 | AA pass 4.5:1 | |
| Primary on background | 9.79:1 | AAA pass 3:1 | |
| Accent on background | 3.38: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 | #0E1630 (Text 1) | #9AD0EC (Text 2) | #F7B267 (Text 3) | #233157 (Text 4) | #EEF4FA (Text 5) |
|---|---|---|---|---|---|
| #0E1630 | Same color | 10.72AAA | 9.79AAA | 1.40— | 16.12AAA |
| #9AD0EC | 10.72AAA | Same color | 1.09— | 7.65AAA | 1.50— |
| #F7B267 | 9.79AAA | 1.09— | Same color | 6.99AA | 1.65— |
| #233157 | 1.40— | 7.65AAA | 6.99AA | Same color | 11.50AAA |
| #EEF4FA | 16.12AAA | 1.50— | 1.65— | 11.50AAA | Same color |
Shades
Shades and tints (50–950)
