PreviewingGo to this paletteOpen in generator
Code
/* Night Ward — colorset.net */
:root {
--color-1: #0D1B22;
--color-2: #4FD1C5;
--color-3: #F6AD55;
--color-4: #1F3540;
--color-5: #E6F4F3;
--color-bg: #E6F4F3;
--color-surface: #F2FAF9;
--color-border: #CADCDB;
--color-text: #0D1B22;
--color-muted: #5D6D76;
--color-primary: #C07B15;
--color-on-primary: #0D1B22;
--color-accent: #00857C;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0D1B22;
--color-surface: #17262D;
--color-border: #293C45;
--color-text: #E6F4F3;
--color-muted: #849090;
--color-primary: #F6AD55;
--color-on-primary: #0D1B22;
--color-accent: #4FD1C5;
--color-on-accent: #0D1B22;
}
}
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 #F6AD55 | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #4FD1C5 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.54:1 | AAA pass 4.5:1 | |
| Text on surface | 16.56:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.75:1 | AA pass 4.5:1 | |
| Label on primary | 5.08:1 | AA pass 4.5:1 | |
| Label on accent | 4.52:1 | AA pass 4.5:1 | |
| Primary on background | 3.06:1 | AA Large pass 3:1 | |
| Accent on background | 4.00:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.54:1 | AAA pass 4.5:1 | |
| Text on surface | 13.76:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.32:1 | AA pass 4.5:1 | |
| Label on primary | 9.21:1 | AAA pass 4.5:1 | |
| Label on accent | 9.41:1 | AAA pass 4.5:1 | |
| Primary on background | 9.21:1 | AAA pass 3:1 | |
| Accent on background | 9.41:1 | AAA 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 | #0D1B22 (Text 1) | #4FD1C5 (Text 2) | #F6AD55 (Text 3) | #1F3540 (Text 4) | #E6F4F3 (Text 5) |
|---|---|---|---|---|---|
| #0D1B22 | Same color | 9.41AAA | 9.21AAA | 1.37— | 15.54AAA |
| #4FD1C5 | 9.41AAA | Same color | 1.02— | 6.86AA | 1.65— |
| #F6AD55 | 9.21AAA | 1.02— | Same color | 6.72AA | 1.69— |
| #1F3540 | 1.37— | 6.86AA | 6.72AA | Same color | 11.33AAA |
| #E6F4F3 | 15.54AAA | 1.65— | 1.69— | 11.33AAA | Same color |
Shades
Shades and tints (50–950)
