PreviewingGo to this paletteOpen in generator
Code
/* Vector Lime — colorset.net */
:root {
--color-1: #F5F7F0;
--color-2: #233D4D;
--color-3: #A6E23F;
--color-4: #DCE5C9;
--color-5: #1A2421;
--color-bg: #F5F7F0;
--color-surface: #ECEEE7;
--color-border: #D3D6CB;
--color-text: #1A2421;
--color-muted: #616D69;
--color-primary: #598100;
--color-on-primary: #FFFFFF;
--color-accent: #233D4D;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1A2421;
--color-surface: #252F2C;
--color-border: #374641;
--color-text: #F5F7F0;
--color-muted: #94968F;
--color-primary: #A6E23F;
--color-on-primary: #1A2421;
--color-accent: #5F7B8D;
--color-on-accent: #000000;
}
}
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 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #233D4D | from palette · color 3 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #233D4D |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.75:1 | AAA pass 4.5:1 | |
| Text on surface | 13.62:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 4.60:1 | AA pass 4.5:1 | |
| Label on accent | 11.38:1 | AAA pass 4.5:1 | |
| Primary on background | 4.26:1 | AA Large pass 3:1 | |
| Accent on background | 10.53:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.75:1 | AAA pass 4.5:1 | |
| Text on surface | 12.78:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.32:1 | AA pass 4.5:1 | |
| Label on primary | 10.30:1 | AAA pass 4.5:1 | |
| Label on accent | 4.70:1 | AA pass 4.5:1 | |
| Primary on background | 10.30:1 | AAA pass 3:1 | |
| Accent on background | 3.57: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 | #F5F7F0 (Text 1) | #233D4D (Text 2) | #A6E23F (Text 3) | #DCE5C9 (Text 4) | #1A2421 (Text 5) |
|---|---|---|---|---|---|
| #F5F7F0 | Same color | 10.53AAA | 1.43— | 1.21— | 14.75AAA |
| #233D4D | 10.53AAA | Same color | 7.35AAA | 8.72AAA | 1.40— |
| #A6E23F | 1.43— | 7.35AAA | Same color | 1.19— | 10.30AAA |
| #DCE5C9 | 1.21— | 8.72AAA | 1.19— | Same color | 12.21AAA |
| #1A2421 | 14.75AAA | 1.40— | 10.30AAA | 12.21AAA | Same color |
Shades
Shades and tints (50–950)
