PreviewingGo to this paletteOpen in generator
Code
/* Terminal Green — colorset.net */
:root {
--color-1: #041608;
--color-2: #75E07C;
--color-3: #E8A95C;
--color-4: #1F4127;
--color-5: #E4EFE2;
--color-bg: #E4EFE2;
--color-surface: #EEF5ED;
--color-border: #CAD7C7;
--color-text: #041608;
--color-muted: #546957;
--color-primary: #088926;
--color-on-primary: #FFFFFF;
--color-accent: #A3690C;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #041608;
--color-surface: #0D2112;
--color-border: #213625;
--color-text: #E4EFE2;
--color-muted: #808A7E;
--color-primary: #75E07C;
--color-on-primary: #041608;
--color-accent: #E8A95C;
--color-on-accent: #041608;
}
}
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 5 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #1F4127 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #E8A95C | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.79:1 | AAA pass 4.5:1 | |
| Text on surface | 16.84:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 4.55:1 | AA pass 4.5:1 | |
| Label on accent | 4.58:1 | AA pass 4.5:1 | |
| Primary on background | 3.84:1 | AA Large pass 3:1 | |
| Accent on background | 3.87:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.79:1 | AAA pass 4.5:1 | |
| Text on surface | 14.27:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.21:1 | AA pass 4.5:1 | |
| Label on primary | 11.31:1 | AAA pass 4.5:1 | |
| Label on accent | 9.13:1 | AAA pass 4.5:1 | |
| Primary on background | 11.31:1 | AAA pass 3:1 | |
| Accent on background | 9.13: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 | #041608 (Text 1) | #75E07C (Text 2) | #E8A95C (Text 3) | #1F4127 (Text 4) | #E4EFE2 (Text 5) |
|---|---|---|---|---|---|
| #041608 | Same color | 11.31AAA | 9.13AAA | 1.64— | 15.79AAA |
| #75E07C | 11.31AAA | Same color | 1.24— | 6.89AA | 1.40— |
| #E8A95C | 9.13AAA | 1.24— | Same color | 5.57AA | 1.73— |
| #1F4127 | 1.64— | 6.89AA | 5.57AA | Same color | 9.62AAA |
| #E4EFE2 | 15.79AAA | 1.40— | 1.73— | 9.62AAA | Same color |
Shades
Shades and tints (50–950)
