PreviewingGo to this paletteOpen in generator
Code
/* Moss Carpet — colorset.net */
:root {
--color-1: #145A32;
--color-2: #186A3B;
--color-3: #1E8449;
--color-4: #239B56;
--color-5: #27AE60;
--color-bg: #EDFBF0;
--color-surface: #E4F2E7;
--color-border: #C9DACD;
--color-text: #1A5934;
--color-muted: #58705E;
--color-primary: #008846;
--color-on-primary: #FFFFFF;
--color-accent: #186A3B;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #031408;
--color-surface: #0B1E12;
--color-border: #1D3424;
--color-text: #8FAF96;
--color-muted: #6F8875;
--color-primary: #008846;
--color-on-primary: #FFFFFF;
--color-accent: #32744A;
--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 #27AE60 | adjusted for contrast · from #145A32 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #145A32 | adjusted for contrast · from #27AE60 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #1E8449 | adjusted for contrast · from #1E8449 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #186A3B |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.79:1 | AAA pass 4.5:1 | |
| Text on surface | 7.20:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 4.56:1 | AA pass 4.5:1 | |
| Label on accent | 6.64:1 | AA pass 4.5:1 | |
| Primary on background | 4.26:1 | AA Large pass 3:1 | |
| Accent on background | 6.21:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.89:1 | AAA pass 4.5:1 | |
| Text on surface | 7.23:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.93:1 | AA pass 4.5:1 | |
| Label on primary | 4.56:1 | AA pass 4.5:1 | |
| Label on accent | 5.63:1 | AA pass 4.5:1 | |
| Primary on background | 4.16:1 | AA Large pass 3:1 | |
| Accent on background | 3.37: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 | #145A32 (Text 1) | #186A3B (Text 2) | #1E8449 (Text 3) | #239B56 (Text 4) | #27AE60 (Text 5) |
|---|---|---|---|---|---|
| #145A32 | Same color | 1.25— | 1.75— | 2.32— | 2.88— |
| #186A3B | 1.25— | Same color | 1.41— | 1.86— | 2.31— |
| #1E8449 | 1.75— | 1.41— | Same color | 1.32— | 1.64— |
| #239B56 | 2.32— | 1.86— | 1.32— | Same color | 1.24— |
| #27AE60 | 2.88— | 2.31— | 1.64— | 1.24— | Same color |
Shades
Shades and tints (50–950)
