PreviewingGo to this paletteOpen in generator
Code
/* Field Green — colorset.net */
:root {
--color-1: #228B22;
--color-2: #90EE90;
--color-3: #8B4513;
--color-4: #F4A460;
--color-5: #FFFFFF;
--color-bg: #FFFFFF;
--color-surface: #F6F6F6;
--color-border: #E0DCDD;
--color-text: #7C4522;
--color-muted: #866C5D;
--color-primary: #1D881E;
--color-on-primary: #FFFFFF;
--color-accent: #C87B35;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1B0A03;
--color-surface: #26140A;
--color-border: #3E281B;
--color-text: #FFFFFF;
--color-muted: #8F8F8F;
--color-primary: #1D881E;
--color-on-primary: #FFFFFF;
--color-accent: #F4A460;
--color-on-accent: #1B0A03;
}
}
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 | adjusted for contrast · from #8B4513 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #8B4513 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #228B22 | adjusted for contrast · from #228B22 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F4A460 | from palette · color 4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.69:1 | AAA pass 4.5:1 | |
| Text on surface | 7.11:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.86:1 | AA pass 4.5:1 | |
| Label on primary | 4.57:1 | AA pass 4.5:1 | |
| Label on accent | 6.34:1 | AA pass 4.5:1 | |
| Primary on background | 4.57:1 | AA pass 3:1 | |
| Accent on background | 3.31:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 19.24:1 | AAA pass 4.5:1 | |
| Text on surface | 17.69:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.95:1 | AA pass 4.5:1 | |
| Label on primary | 4.57:1 | AA pass 4.5:1 | |
| Label on accent | 9.46:1 | AAA pass 4.5:1 | |
| Primary on background | 4.21:1 | AA Large pass 3:1 | |
| Accent on background | 9.46: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 | #228B22 (Text 1) | #90EE90 (Text 2) | #8B4513 (Text 3) | #F4A460 (Text 4) | #FFFFFF (Text 5) |
|---|---|---|---|---|---|
| #228B22 | Same color | 3.10AA Large | 1.62— | 2.16— | 4.39AA Large |
| #90EE90 | 3.10AA Large | Same color | 5.01AA | 1.44— | 1.42— |
| #8B4513 | 1.62— | 5.01AA | Same color | 3.49AA Large | 7.10AAA |
| #F4A460 | 2.16— | 1.44— | 3.49AA Large | Same color | 2.03— |
| #FFFFFF | 4.39AA Large | 1.42— | 7.10AAA | 2.03— | Same color |
Shades
Shades and tints (50–950)
