PreviewingGo to this paletteOpen in generator
Code
/* Evergreen Ribbon — colorset.net */
:root {
--color-1: #F7F3E8;
--color-2: #1F5A3A;
--color-3: #C8102E;
--color-4: #D9B45B;
--color-5: #1B2A22;
--color-bg: #F7F3E8;
--color-surface: #FDFAF4;
--color-border: #DFDACC;
--color-text: #1B2A22;
--color-muted: #607167;
--color-primary: #C8102E;
--color-on-primary: #FFFFFF;
--color-accent: #1F5A3A;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0C110E;
--color-surface: #151B18;
--color-border: #27302B;
--color-text: #F7F3E8;
--color-muted: #8D897F;
--color-primary: #CC1731;
--color-on-primary: #FFFFFF;
--color-accent: #377150;
--color-on-accent: #FFFFFF;
}
}
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 | from palette · color 1 | adjusted for contrast · from #1B2A22 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 3 | adjusted for contrast · from #C8102E |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #1F5A3A |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.52:1 | AAA pass 4.5:1 | |
| Text on surface | 14.39:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.67:1 | AA pass 4.5:1 | |
| Label on primary | 5.88:1 | AA pass 4.5:1 | |
| Label on accent | 8.13:1 | AAA pass 4.5:1 | |
| Primary on background | 5.31:1 | AA pass 3:1 | |
| Accent on background | 7.34:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.18:1 | AAA pass 4.5:1 | |
| Text on surface | 15.76:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.46:1 | AA pass 4.5:1 | |
| Label on primary | 5.62:1 | AA pass 4.5:1 | |
| Label on accent | 5.77:1 | AA pass 4.5:1 | |
| Primary on background | 3.39:1 | AA Large pass 3:1 | |
| Accent on background | 3.30:1 | AA Large 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 | #F7F3E8 (Text 1) | #1F5A3A (Text 2) | #C8102E (Text 3) | #D9B45B (Text 4) | #1B2A22 (Text 5) |
|---|---|---|---|---|---|
| #F7F3E8 | Same color | 7.34AAA | 5.31AA | 1.78— | 13.52AAA |
| #1F5A3A | 7.34AAA | Same color | 1.38— | 4.12AA Large | 1.84— |
| #C8102E | 5.31AA | 1.38— | Same color | 2.98— | 2.55— |
| #D9B45B | 1.78— | 4.12AA Large | 2.98— | Same color | 7.59AAA |
| #1B2A22 | 13.52AAA | 1.84— | 2.55— | 7.59AAA | Same color |
Shades
Shades and tints (50–950)
