PreviewingGo to this paletteOpen in generator
Code
/* Mossy Hollow — colorset.net */
:root {
--color-1: #013220;
--color-2: #1A4B32;
--color-3: #336444;
--color-4: #4C7D56;
--color-5: #659668;
--color-bg: #EFFBEF;
--color-surface: #E5F1E6;
--color-border: #CBDACB;
--color-text: #013220;
--color-muted: #557163;
--color-primary: #518154;
--color-on-primary: #FFFFFF;
--color-accent: #1A4B32;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #05130C;
--color-surface: #0F1D16;
--color-border: #203329;
--color-text: #90AC91;
--color-muted: #738974;
--color-primary: #659668;
--color-on-primary: #05130C;
--color-accent: #45715C;
--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 #659668 | adjusted for contrast · from #013220 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #659668 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #4C7D56 | from palette · color 5 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #4C7D56 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.34:1 | AAA pass 4.5:1 | |
| Text on surface | 12.21:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 4.55:1 | AA pass 4.5:1 | |
| Label on accent | 10.02:1 | AAA pass 4.5:1 | |
| Primary on background | 4.27:1 | AA Large pass 3:1 | |
| Accent on background | 9.40:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.69:1 | AAA pass 4.5:1 | |
| Text on surface | 7.03:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 5.54:1 | AA pass 4.5:1 | |
| Label on accent | 5.57:1 | AA pass 4.5:1 | |
| Primary on background | 5.54:1 | AA pass 3:1 | |
| Accent on background | 3.41: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 | #013220 (Text 1) | #1A4B32 (Text 2) | #336444 (Text 3) | #4C7D56 (Text 4) | #659668 (Text 5) |
|---|---|---|---|---|---|
| #013220 | Same color | 1.42— | 2.06— | 2.96— | 4.14AA Large |
| #1A4B32 | 1.42— | Same color | 1.45— | 2.09— | 2.92— |
| #336444 | 2.06— | 1.45— | Same color | 1.44— | 2.01— |
| #4C7D56 | 2.96— | 2.09— | 1.44— | Same color | 1.40— |
| #659668 | 4.14AA Large | 2.92— | 2.01— | 1.40— | Same color |
Shades
Shades and tints (50–950)
