PreviewingGo to this paletteOpen in generator
Code
/* Graveyard Fog — colorset.net */
:root {
--color-1: #E4E6E3;
--color-2: #6E7B78;
--color-3: #C8651B;
--color-4: #3B4443;
--color-5: #1A1F1E;
--color-bg: #F6F7F6;
--color-surface: #EDEEED;
--color-border: #D3D6D2;
--color-text: #1A1F1E;
--color-muted: #666C6B;
--color-primary: #BA5901;
--color-on-primary: #FFFFFF;
--color-accent: #868785;
--color-on-accent: #1A1F1E;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1A1F1E;
--color-surface: #252A29;
--color-border: #37403F;
--color-text: #E4E6E3;
--color-muted: #8F918E;
--color-primary: #BA5901;
--color-on-primary: #FFFFFF;
--color-accent: #6E7473;
--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 | adjusted for contrast · from #E4E6E3 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #C8651B | adjusted for contrast · from #C8651B |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #6E7B78 | adjusted for contrast · from #6E7B78 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.54:1 | AAA pass 4.5:1 | |
| Text on surface | 14.34:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 4.65:1 | AA pass 4.5:1 | |
| Label on accent | 4.62:1 | AA pass 4.5:1 | |
| Primary on background | 4.33:1 | AA Large pass 3:1 | |
| Accent on background | 3.36:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.29:1 | AAA pass 4.5:1 | |
| Text on surface | 11.60:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.25:1 | AA pass 4.5:1 | |
| Label on primary | 4.65:1 | AA pass 4.5:1 | |
| Label on accent | 4.76:1 | AA pass 4.5:1 | |
| Primary on background | 3.59:1 | AA Large pass 3:1 | |
| Accent on background | 3.50: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 | #E4E6E3 (Text 1) | #6E7B78 (Text 2) | #C8651B (Text 3) | #3B4443 (Text 4) | #1A1F1E (Text 5) |
|---|---|---|---|---|---|
| #E4E6E3 | Same color | 3.51AA Large | 3.14AA Large | 7.99AAA | 13.29AAA |
| #6E7B78 | 3.51AA Large | Same color | 1.12— | 2.28— | 3.79AA Large |
| #C8651B | 3.14AA Large | 1.12— | Same color | 2.55— | 4.24AA Large |
| #3B4443 | 7.99AAA | 2.28— | 2.55— | Same color | 1.66— |
| #1A1F1E | 13.29AAA | 3.79AA Large | 4.24AA Large | 1.66— | Same color |
Shades
Shades and tints (50–950)
