PreviewingGo to this paletteOpen in generator
Code
/* Moss Journal — colorset.net */
:root {
--color-1: #F4F4EC;
--color-2: #2F7434;
--color-3: #DA6F54;
--color-4: #A4C19D;
--color-5: #152D17;
--color-bg: #F4F4EC;
--color-surface: #FBFBF6;
--color-border: #DCDCD0;
--color-text: #152D17;
--color-muted: #5E735F;
--color-primary: #D76C51;
--color-on-primary: #000000;
--color-accent: #2F7434;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0A120A;
--color-surface: #141C14;
--color-border: #263126;
--color-text: #F4F4EC;
--color-muted: #8A8A83;
--color-primary: #DA6F54;
--color-on-primary: #0A120A;
--color-accent: #2F7434;
--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 #152D17 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #DA6F54 | 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.38:1 | AAA pass 4.5:1 | |
| Text on surface | 14.25:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.64:1 | AA pass 4.5:1 | |
| Label on primary | 6.15:1 | AA pass 4.5:1 | |
| Label on accent | 5.72:1 | AA pass 4.5:1 | |
| Primary on background | 3.09:1 | AA Large pass 3:1 | |
| Accent on background | 5.18:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.21:1 | AAA pass 4.5:1 | |
| Text on surface | 15.75:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.48:1 | AA pass 4.5:1 | |
| Label on primary | 5.78:1 | AA pass 4.5:1 | |
| Label on accent | 5.72:1 | AA pass 4.5:1 | |
| Primary on background | 5.78:1 | AA pass 3:1 | |
| Accent on background | 3.32: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 | #F4F4EC (Text 1) | #2F7434 (Text 2) | #DA6F54 (Text 3) | #A4C19D (Text 4) | #152D17 (Text 5) |
|---|---|---|---|---|---|
| #F4F4EC | Same color | 5.18AA | 2.98— | 1.78— | 13.38AAA |
| #2F7434 | 5.18AA | Same color | 1.74— | 2.91— | 2.58— |
| #DA6F54 | 2.98— | 1.74— | Same color | 1.68— | 4.50AA |
| #A4C19D | 1.78— | 2.91— | 1.68— | Same color | 7.53AAA |
| #152D17 | 13.38AAA | 2.58— | 4.50AA | 7.53AAA | Same color |
Shades
Shades and tints (50–950)
