PreviewingGo to this paletteOpen in generator
Code
/* Cyber Green — colorset.net */
:root {
--color-1: #001100;
--color-2: #003300;
--color-3: #005500;
--color-4: #007700;
--color-5: #00FF00;
--color-bg: #EFFBEE;
--color-surface: #E6F1E5;
--color-border: #CCD9CA;
--color-text: #001100;
--color-muted: #566954;
--color-primary: #008900;
--color-on-primary: #FFFFFF;
--color-accent: #003300;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #001100;
--color-surface: #061B05;
--color-border: #1E2F1C;
--color-text: #C1DCBE;
--color-muted: #728670;
--color-primary: #00FF00;
--color-on-primary: #001100;
--color-accent: #536C51;
--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 | adjusted for contrast · from #00FF00 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #00FF00 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #007700 | from palette · color 5 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #007700 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.24:1 | AAA pass 4.5:1 | |
| Text on surface | 16.74:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.56:1 | AA pass 4.5:1 | |
| Label on primary | 4.59:1 | AA pass 4.5:1 | |
| Label on accent | 14.25:1 | AAA pass 4.5:1 | |
| Primary on background | 4.30:1 | AA Large pass 3:1 | |
| Accent on background | 13.37:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.19:1 | AAA pass 4.5:1 | |
| Text on surface | 12.21:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 14.17:1 | AAA pass 4.5:1 | |
| Label on accent | 5.78:1 | AA pass 4.5:1 | |
| Primary on background | 14.17:1 | AAA pass 3:1 | |
| Accent on background | 3.36: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 | #001100 (Text 1) | #003300 (Text 2) | #005500 (Text 3) | #007700 (Text 4) | #00FF00 (Text 5) |
|---|---|---|---|---|---|
| #001100 | Same color | 1.36— | 2.13— | 3.37AA Large | 14.17AAA |
| #003300 | 1.36— | Same color | 1.56— | 2.47— | 10.39AAA |
| #005500 | 2.13— | 1.56— | Same color | 1.58— | 6.66AA |
| #007700 | 3.37AA Large | 2.47— | 1.58— | Same color | 4.21AA Large |
| #00FF00 | 14.17AAA | 10.39AAA | 6.66AA | 4.21AA Large | Same color |
Shades
Shades and tints (50–950)
