PreviewingGo to this paletteOpen in generator
Code
/* Bamboo Soft — colorset.net */
:root {
--color-1: #A7C57B;
--color-2: #B8D48F;
--color-3: #C9E3A3;
--color-4: #DAF2B7;
--color-5: #EBFFCB;
--color-bg: #F4F9EB;
--color-surface: #EAF0E2;
--color-border: #D1D8C6;
--color-text: #3E5416;
--color-muted: #657057;
--color-primary: #637D35;
--color-on-primary: #FFFFFF;
--color-accent: #7D8F5F;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0B1202;
--color-surface: #151C0A;
--color-border: #28321B;
--color-text: #EEFCD8;
--color-muted: #858F75;
--color-primary: #A7C57B;
--color-on-primary: #0B1202;
--color-accent: #DAF2B7;
--color-on-accent: #0B1202;
}
}
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 #EBFFCB | adjusted for contrast · from #A7C57B |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #A7C57B | adjusted for contrast · from #EBFFCB |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #A7C57B | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #A7C57B | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.89:1 | AAA pass 4.5:1 | |
| Text on surface | 7.27:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.89:1 | AA pass 4.5:1 | |
| Label on primary | 4.65:1 | AA pass 4.5:1 | |
| Label on accent | 5.97:1 | AA pass 4.5:1 | |
| Primary on background | 4.34:1 | AA Large pass 3:1 | |
| Accent on background | 3.28:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.75:1 | AAA pass 4.5:1 | |
| Text on surface | 16.26:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.61:1 | AA pass 4.5:1 | |
| Label on primary | 9.91:1 | AAA pass 4.5:1 | |
| Label on accent | 15.76:1 | AAA pass 4.5:1 | |
| Primary on background | 9.91:1 | AAA pass 3:1 | |
| Accent on background | 15.76: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 | #A7C57B (Text 1) | #B8D48F (Text 2) | #C9E3A3 (Text 3) | #DAF2B7 (Text 4) | #EBFFCB (Text 5) |
|---|---|---|---|---|---|
| #A7C57B | Same color | 1.18— | 1.37— | 1.59— | 1.80— |
| #B8D48F | 1.18— | Same color | 1.17— | 1.35— | 1.53— |
| #C9E3A3 | 1.37— | 1.17— | Same color | 1.16— | 1.31— |
| #DAF2B7 | 1.59— | 1.35— | 1.16— | Same color | 1.13— |
| #EBFFCB | 1.80— | 1.53— | 1.31— | 1.13— | Same color |
Shades
Shades and tints (50–950)
