PreviewingGo to this paletteOpen in generator
Code
/* Moss Rose — colorset.net */
:root {
--color-1: #8FBC8F;
--color-2: #98FB98;
--color-3: #FFB6C1;
--color-4: #F4A460;
--color-5: #DEB887;
--color-bg: #EFFBEF;
--color-surface: #E6F1E5;
--color-border: #CBD9CB;
--color-text: #2D562E;
--color-muted: #5A6F5A;
--color-primary: #389C3D;
--color-on-primary: #000000;
--color-accent: #AE6316;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #061307;
--color-surface: #101D10;
--color-border: #223322;
--color-text: #CCE8CB;
--color-muted: #748873;
--color-primary: #98FB98;
--color-on-primary: #061307;
--color-accent: #F4A460;
--color-on-accent: #061307;
}
}
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 #98FB98 | adjusted for contrast · from #8FBC8F |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #8FBC8F | adjusted for contrast · from #98FB98 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #8FBC8F | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F4A460 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.94:1 | AAA pass 4.5:1 | |
| Text on surface | 7.28:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.11:1 | AA pass 4.5:1 | |
| Label on primary | 5.99:1 | AA pass 4.5:1 | |
| Label on accent | 4.57:1 | AA pass 4.5:1 | |
| Primary on background | 3.29:1 | AA Large pass 3:1 | |
| Accent on background | 4.29:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.47:1 | AAA pass 4.5:1 | |
| Text on surface | 13.25:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 15.03:1 | AAA pass 4.5:1 | |
| Label on accent | 9.35:1 | AAA pass 4.5:1 | |
| Primary on background | 15.03:1 | AAA pass 3:1 | |
| Accent on background | 9.35:1 | AAA 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 | #8FBC8F (Text 1) | #98FB98 (Text 2) | #FFB6C1 (Text 3) | #F4A460 (Text 4) | #DEB887 (Text 5) |
|---|---|---|---|---|---|
| #8FBC8F | Same color | 1.70— | 1.30— | 1.06— | 1.16— |
| #98FB98 | 1.70— | Same color | 1.30— | 1.61— | 1.47— |
| #FFB6C1 | 1.30— | 1.30— | Same color | 1.23— | 1.12— |
| #F4A460 | 1.06— | 1.61— | 1.23— | Same color | 1.10— |
| #DEB887 | 1.16— | 1.47— | 1.12— | 1.10— | Same color |
Shades
Shades and tints (50–950)
