PreviewingGo to this paletteOpen in generator
Code
/* Fog Forest — colorset.net */
:root {
--color-1: #EDF1EE;
--color-2: #4F7469;
--color-3: #B9946A;
--color-4: #C8D3CE;
--color-5: #1E2A27;
--color-bg: #EDF1EE;
--color-surface: #F5F8F6;
--color-border: #D2D9D4;
--color-text: #1E2A27;
--color-muted: #616F6B;
--color-primary: #A68258;
--color-on-primary: #000000;
--color-accent: #4F7469;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0C100F;
--color-surface: #161B19;
--color-border: #28302E;
--color-text: #EDF1EE;
--color-muted: #858986;
--color-primary: #B9946A;
--color-on-primary: #0C100F;
--color-accent: #4F7469;
--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 #1E2A27 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #B9946A | 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.01:1 | AAA pass 4.5:1 | |
| Text on surface | 13.87:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.61:1 | AA pass 4.5:1 | |
| Label on primary | 5.96:1 | AA pass 4.5:1 | |
| Label on accent | 5.20:1 | AA pass 4.5:1 | |
| Primary on background | 3.09:1 | AA Large pass 3:1 | |
| Accent on background | 4.56:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.79:1 | AAA pass 4.5:1 | |
| Text on surface | 15.29:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.40:1 | AA pass 4.5:1 | |
| Label on primary | 6.85:1 | AA pass 4.5:1 | |
| Label on accent | 5.20:1 | AA pass 4.5:1 | |
| Primary on background | 6.85:1 | AA pass 3:1 | |
| Accent on background | 3.68: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 | #EDF1EE (Text 1) | #4F7469 (Text 2) | #B9946A (Text 3) | #C8D3CE (Text 4) | #1E2A27 (Text 5) |
|---|---|---|---|---|---|
| #EDF1EE | Same color | 4.56AA | 2.45— | 1.35— | 13.01AAA |
| #4F7469 | 4.56AA | Same color | 1.86— | 3.39AA Large | 2.85— |
| #B9946A | 2.45— | 1.86— | Same color | 1.82— | 5.30AA |
| #C8D3CE | 1.35— | 3.39AA Large | 1.82— | Same color | 9.65AAA |
| #1E2A27 | 13.01AAA | 2.85— | 5.30AA | 9.65AAA | Same color |
Shades
Shades and tints (50–950)
