PreviewingGo to this paletteOpen in generator
Code
/* Light Green — colorset.net */
:root {
--color-1: #66FF66;
--color-2: #80FF80;
--color-3: #99FF99;
--color-4: #B3FFB3;
--color-5: #CCFFCC;
--color-bg: #EFFBEF;
--color-surface: #E6F1E5;
--color-border: #CBDACB;
--color-text: #2B582A;
--color-muted: #5C705B;
--color-primary: #008910;
--color-on-primary: #FFFFFF;
--color-accent: #659466;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #061306;
--color-surface: #0F1E0F;
--color-border: #223321;
--color-text: #DBF9DB;
--color-muted: #798E79;
--color-primary: #66FF66;
--color-on-primary: #061306;
--color-accent: #B3FFB3;
--color-on-accent: #061306;
}
}
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 #CCFFCC | adjusted for contrast · from #66FF66 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #66FF66 | adjusted for contrast · from #CCFFCC |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #66FF66 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #80FF80 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.79:1 | AAA pass 4.5:1 | |
| Text on surface | 7.14:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 4.58:1 | AA pass 4.5:1 | |
| Label on accent | 5.98:1 | AA pass 4.5:1 | |
| Primary on background | 4.30:1 | AA Large pass 3:1 | |
| Accent on background | 3.30:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.84:1 | AAA pass 4.5:1 | |
| Text on surface | 15.32:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.40:1 | AA pass 4.5:1 | |
| Label on primary | 14.55:1 | AAA pass 4.5:1 | |
| Label on accent | 16.20:1 | AAA pass 4.5:1 | |
| Primary on background | 14.55:1 | AAA pass 3:1 | |
| Accent on background | 16.20: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 | #66FF66 (Text 1) | #80FF80 (Text 2) | #99FF99 (Text 3) | #B3FFB3 (Text 4) | #CCFFCC (Text 5) |
|---|---|---|---|---|---|
| #66FF66 | Same color | 1.03— | 1.07— | 1.11— | 1.17— |
| #80FF80 | 1.03— | Same color | 1.04— | 1.08— | 1.13— |
| #99FF99 | 1.07— | 1.04— | Same color | 1.04— | 1.09— |
| #B3FFB3 | 1.11— | 1.08— | 1.04— | Same color | 1.05— |
| #CCFFCC | 1.17— | 1.13— | 1.09— | 1.05— | Same color |
Shades
Shades and tints (50–950)
