PreviewingGo to this paletteOpen in generator
Code
/* Bamboo Green — colorset.net */
:root {
--color-1: #7B9D6F;
--color-2: #91B383;
--color-3: #A7C997;
--color-4: #BDDFAB;
--color-5: #D3F5BF;
--color-bg: #F1FAED;
--color-surface: #E8F1E3;
--color-border: #CED9C8;
--color-text: #37562C;
--color-muted: #5F6F59;
--color-primary: #6F9163;
--color-on-primary: #000000;
--color-accent: #435E39;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #091206;
--color-surface: #121D0F;
--color-border: #253221;
--color-text: #DBF1CF;
--color-muted: #7A8971;
--color-primary: #7B9D6F;
--color-on-primary: #091206;
--color-accent: #BDDFAB;
--color-on-accent: #091206;
}
}
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 #D3F5BF | adjusted for contrast · from #7B9D6F |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #7B9D6F | adjusted for contrast · from #D3F5BF |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #7B9D6F | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #7B9D6F | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.76:1 | AAA pass 4.5:1 | |
| Text on surface | 7.16:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 5.91:1 | AA pass 4.5:1 | |
| Label on accent | 7.24:1 | AAA pass 4.5:1 | |
| Primary on background | 3.32:1 | AA Large pass 3:1 | |
| Accent on background | 6.77:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.89:1 | AAA pass 4.5:1 | |
| Text on surface | 14.48:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.13:1 | AA pass 4.5:1 | |
| Label on primary | 6.26:1 | AA pass 4.5:1 | |
| Label on accent | 13.00:1 | AAA pass 4.5:1 | |
| Primary on background | 6.26:1 | AA pass 3:1 | |
| Accent on background | 13.00: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 | #7B9D6F (Text 1) | #91B383 (Text 2) | #A7C997 (Text 3) | #BDDFAB (Text 4) | #D3F5BF (Text 5) |
|---|---|---|---|---|---|
| #7B9D6F | Same color | 1.30— | 1.66— | 2.08— | 2.55— |
| #91B383 | 1.30— | Same color | 1.27— | 1.59— | 1.96— |
| #A7C997 | 1.66— | 1.27— | Same color | 1.25— | 1.54— |
| #BDDFAB | 2.08— | 1.59— | 1.25— | Same color | 1.23— |
| #D3F5BF | 2.55— | 1.96— | 1.54— | 1.23— | Same color |
Shades
Shades and tints (50–950)
