PreviewingGo to this paletteOpen in generator
Code
/* Night Edition — colorset.net */
:root {
--color-1: #0A0B0D;
--color-2: #6F7276;
--color-3: #CCB484;
--color-4: #313336;
--color-5: #EFEEEB;
--color-bg: #EFEEEB;
--color-surface: #F6F5F4;
--color-border: #D8D5CF;
--color-text: #0A0B0D;
--color-muted: #5E5F62;
--color-primary: #9D8657;
--color-on-primary: #0A0B0D;
--color-accent: #313336;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0A0B0D;
--color-surface: #141517;
--color-border: #26292E;
--color-text: #EFEEEB;
--color-muted: #858481;
--color-primary: #CCB484;
--color-on-primary: #0A0B0D;
--color-accent: #626366;
--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 #6F7276 | from palette · color 3 |
| On primary | derived | derived |
| Accent | from palette · color 4 | adjusted for contrast · from #6F7276 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.97:1 | AAA pass 4.5:1 | |
| Text on surface | 18.08:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.50:1 | AA pass 4.5:1 | |
| Label on primary | 5.61:1 | AA pass 4.5:1 | |
| Label on accent | 12.67:1 | AAA pass 4.5:1 | |
| Primary on background | 3.03:1 | AA Large pass 3:1 | |
| Accent on background | 10.92:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.97:1 | AAA pass 4.5:1 | |
| Text on surface | 15.75:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.26:1 | AA pass 4.5:1 | |
| Label on primary | 9.78:1 | AAA pass 4.5:1 | |
| Label on accent | 6.01:1 | AA pass 4.5:1 | |
| Primary on background | 9.78:1 | AAA pass 3:1 | |
| Accent on background | 3.28: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 | #0A0B0D (Text 1) | #6F7276 (Text 2) | #CCB484 (Text 3) | #313336 (Text 4) | #EFEEEB (Text 5) |
|---|---|---|---|---|---|
| #0A0B0D | Same color | 4.07AA Large | 9.78AAA | 1.55— | 16.97AAA |
| #6F7276 | 4.07AA Large | Same color | 2.40— | 2.62— | 4.17AA Large |
| #CCB484 | 9.78AAA | 2.40— | Same color | 6.29AA | 1.74— |
| #313336 | 1.55— | 2.62— | 6.29AA | Same color | 10.92AAA |
| #EFEEEB | 16.97AAA | 4.17AA Large | 1.74— | 10.92AAA | Same color |
Shades
Shades and tints (50–950)
