PreviewingGo to this paletteOpen in generator
Code
/* Starburst Clock — colorset.net */
:root {
--color-1: #F6EEE0;
--color-2: #2A6F97;
--color-3: #EF8A17;
--color-4: #E6C79C;
--color-5: #1E2630;
--color-bg: #F6EEE0;
--color-surface: #FAF6ED;
--color-border: #DFD5C4;
--color-text: #1E2630;
--color-muted: #616B77;
--color-primary: #B16300;
--color-on-primary: #FFFFFF;
--color-accent: #2A6F97;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0D1013;
--color-surface: #171A1E;
--color-border: #292E35;
--color-text: #F6EEE0;
--color-muted: #8D867A;
--color-primary: #EF8A17;
--color-on-primary: #0D1013;
--color-accent: #2A6F97;
--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 1 | adjusted for contrast · from #1E2630 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #EF8A17 | from palette · color 3 |
| On primary | derived | derived |
| Accent | from palette · color 2 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.25:1 | AAA pass 4.5:1 | |
| Text on surface | 14.16:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.70:1 | AA pass 4.5:1 | |
| Label on primary | 4.51:1 | AA pass 4.5:1 | |
| Label on accent | 5.50:1 | AA pass 4.5:1 | |
| Primary on background | 3.92:1 | AA Large pass 3:1 | |
| Accent on background | 4.77:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.56:1 | AAA pass 4.5:1 | |
| Text on surface | 15.15:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.29:1 | AA pass 4.5:1 | |
| Label on primary | 7.56:1 | AAA pass 4.5:1 | |
| Label on accent | 5.50:1 | AA pass 4.5:1 | |
| Primary on background | 7.56:1 | AAA pass 3:1 | |
| Accent on background | 3.47: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 | #F6EEE0 (Text 1) | #2A6F97 (Text 2) | #EF8A17 (Text 3) | #E6C79C (Text 4) | #1E2630 (Text 5) |
|---|---|---|---|---|---|
| #F6EEE0 | Same color | 4.77AA | 2.19— | 1.40— | 13.25AAA |
| #2A6F97 | 4.77AA | Same color | 2.18— | 3.41AA Large | 2.78— |
| #EF8A17 | 2.19— | 2.18— | Same color | 1.56— | 6.05AA |
| #E6C79C | 1.40— | 3.41AA Large | 1.56— | Same color | 9.46AAA |
| #1E2630 | 13.25AAA | 2.78— | 6.05AA | 9.46AAA | Same color |
Shades
Shades and tints (50–950)
