PreviewingGo to this paletteOpen in generator
Code
/* Thyme Sprig — colorset.net */
:root {
--color-1: #87A96B;
--color-2: #9CAF88;
--color-3: #B7C68B;
--color-4: #C8D5B9;
--color-5: #D9E5D6;
--color-bg: #F4F8F3;
--color-surface: #EBEFEA;
--color-border: #D1D7CF;
--color-text: #39551D;
--color-muted: #606E56;
--color-primary: #5E7E42;
--color-on-primary: #FFFFFF;
--color-accent: #7F897C;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0A1203;
--color-surface: #131D0B;
--color-border: #26321D;
--color-text: #D9E5D6;
--color-muted: #7C8679;
--color-primary: #87A96B;
--color-on-primary: #0A1203;
--color-accent: #C8D5B9;
--color-on-accent: #0A1203;
}
}
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 #D9E5D6 | adjusted for contrast · from #87A96B |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #87A96B | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #87A96B | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #87A96B | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.86:1 | AAA pass 4.5:1 | |
| Text on surface | 7.25:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.07:1 | AA pass 4.5:1 | |
| Label on primary | 4.63:1 | AA pass 4.5:1 | |
| Label on accent | 5.77:1 | AA pass 4.5:1 | |
| Primary on background | 4.31:1 | AA Large pass 3:1 | |
| Accent on background | 3.39:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.65:1 | AAA pass 4.5:1 | |
| Text on surface | 13.35:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.04:1 | AA pass 4.5:1 | |
| Label on primary | 7.19:1 | AAA pass 4.5:1 | |
| Label on accent | 12.42:1 | AAA pass 4.5:1 | |
| Primary on background | 7.19:1 | AAA pass 3:1 | |
| Accent on background | 12.42: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 | #87A96B (Text 1) | #9CAF88 (Text 2) | #B7C68B (Text 3) | #C8D5B9 (Text 4) | #D9E5D6 (Text 5) |
|---|---|---|---|---|---|
| #87A96B | Same color | 1.12— | 1.45— | 1.73— | 2.04— |
| #9CAF88 | 1.12— | Same color | 1.29— | 1.54— | 1.81— |
| #B7C68B | 1.45— | 1.29— | Same color | 1.19— | 1.41— |
| #C8D5B9 | 1.73— | 1.54— | 1.19— | Same color | 1.18— |
| #D9E5D6 | 2.04— | 1.81— | 1.41— | 1.18— | Same color |
Shades
Shades and tints (50–950)
