PreviewingGo to this paletteOpen in generator
Code
/* Moss Dividend — colorset.net */
:root {
--color-1: #F4F5EE;
--color-2: #5C7A3A;
--color-3: #C2552B;
--color-4: #C9CFB7;
--color-5: #22261C;
--color-bg: #F4F5EE;
--color-surface: #FBFCF8;
--color-border: #DBDDD2;
--color-text: #22261C;
--color-muted: #6B7064;
--color-primary: #C2552B;
--color-on-primary: #FFFFFF;
--color-accent: #5C7A3A;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F100C;
--color-surface: #191A16;
--color-border: #2C2F28;
--color-text: #F4F5EE;
--color-muted: #8A8B84;
--color-primary: #C2552B;
--color-on-primary: #FFFFFF;
--color-accent: #5C7A3A;
--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 #22261C |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 3 | 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 | 14.05:1 | AAA pass 4.5:1 | |
| Text on surface | 14.96:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.64:1 | AA pass 4.5:1 | |
| Label on primary | 4.54:1 | AA pass 4.5:1 | |
| Label on accent | 4.88:1 | AA pass 4.5:1 | |
| Primary on background | 4.14:1 | AA Large pass 3:1 | |
| Accent on background | 4.45:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.41:1 | AAA pass 4.5:1 | |
| Text on surface | 15.94:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.55:1 | AA pass 4.5:1 | |
| Label on primary | 4.54:1 | AA pass 4.5:1 | |
| Label on accent | 4.88:1 | AA pass 4.5:1 | |
| Primary on background | 4.21:1 | AA Large pass 3:1 | |
| Accent on background | 3.91: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 | #F4F5EE (Text 1) | #5C7A3A (Text 2) | #C2552B (Text 3) | #C9CFB7 (Text 4) | #22261C (Text 5) |
|---|---|---|---|---|---|
| #F4F5EE | Same color | 4.45AA Large | 4.14AA Large | 1.46— | 14.05AAA |
| #5C7A3A | 4.45AA Large | Same color | 1.08— | 3.04AA Large | 3.16AA Large |
| #C2552B | 4.14AA Large | 1.08— | Same color | 2.83— | 3.40AA Large |
| #C9CFB7 | 1.46— | 3.04AA Large | 2.83— | Same color | 9.61AAA |
| #22261C | 14.05AAA | 3.16AA Large | 3.40AA Large | 9.61AAA | Same color |
Shades
Shades and tints (50–950)
