Sage Notebook colors and roles
Sage Notebook gives notes and community pages a dark green-gray reading color. Two softer greens can group related information. The name describes this palette; it does not define a standard CSS color called sage.
| Token | Exact sRGB value | Suggested starting role |
|---|---|---|
| --color-1 | #273A32 | Primary ink |
| --color-2 | #F1F2E8 | Main surface |
| --color-3 | #71866F | Action or emphasis candidate |
| --color-4 | #C8CFB7 | Supporting panel or accent |
The main text and background pair
Start with #273A32 text on #F1F2E8. At 10.71:1, this pair passes AA and AAA for normal text. Check the other combinations before assigning them to labels or paragraphs.
Compare all 16 color pairs
| Text / background | #273A32 | #F1F2E8 | #71866F | #C8CFB7 |
|---|---|---|---|---|
| #273A32 | 1.00:1 | 10.71:1 | 3.07:1 | 7.52:1 |
| #F1F2E8 | 10.71:1 | 1.00:1 | 3.48:1 | 1.42:1 |
| #71866F | 3.07:1 | 3.48:1 | 1.00:1 | 2.45:1 |
| #C8CFB7 | 7.52:1 | 1.42:1 | 2.45:1 | 1.00:1 |
Read a row as the text color and a column as its background. Matching colors sit on the diagonal at 1.00:1. Mirrored cells share a ratio but reverse the roles. Focus on the pairs you plan to use; a decorative accent does not have to work as text on every surface.
Turn the swatches into roles
- Try #273A32 for text on the #F1F2E8 background.
- Compare #71866F with the light and dark swatches before using it for a link or button.
- Choose a measured text color for any label placed on #C8CFB7.
- Keep a note of which colors serve as body text, headings, backgrounds and decoration.
:root {
--color-1: #273A32;
--color-2: #F1F2E8;
--color-3: #71866F;
--color-4: #C8CFB7;
}Edit the palette and save your files
Open the palette in the builder to edit, reorder or lock colors. Download CSS for the ordered color tokens, JSON to reopen the palette, or SVG for a swatch card. Keep role notes alongside those files. Switching the app’s light or dark theme leaves the palette values unchanged.