PreviewingGo to this paletteOpen in generator
Code
/* Bold Green — colorset.net */
:root {
--color-1: #228B22;
--color-2: #FFFFFF;
--color-3: #000000;
--color-4: #FFD700;
--color-5: #FF0000;
--color-bg: #FFFFFF;
--color-surface: #F6F6F6;
--color-border: #E0DCDD;
--color-text: #000000;
--color-muted: #4D4D4D;
--color-primary: #EA0000;
--color-on-primary: #FFFFFF;
--color-accent: #1D881E;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #000000;
--color-surface: #000000;
--color-border: #090707;
--color-text: #FFFFFF;
--color-muted: #7A7A7A;
--color-primary: #EA0000;
--color-on-primary: #FFFFFF;
--color-accent: #1D881E;
--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 2 | from palette · color 3 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 3 | from palette · color 2 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FF0000 | adjusted for contrast · from #FF0000 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #228B22 | adjusted for contrast · from #228B22 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 21.00:1 | AAA pass 4.5:1 | |
| Text on surface | 19.43:1 | AAA pass 4.5:1 | |
| Muted text on background | 8.45:1 | AAA pass 4.5:1 | |
| Label on primary | 4.67:1 | AA pass 4.5:1 | |
| Label on accent | 4.57:1 | AA pass 4.5:1 | |
| Primary on background | 4.67:1 | AA pass 3:1 | |
| Accent on background | 4.57:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 21.00:1 | AAA pass 4.5:1 | |
| Text on surface | 21.00:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.89:1 | AA pass 4.5:1 | |
| Label on primary | 4.67:1 | AA pass 4.5:1 | |
| Label on accent | 4.59:1 | AA pass 4.5:1 | |
| Primary on background | 4.50:1 | AA pass 3:1 | |
| Accent on background | 4.59:1 | AA 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) | #FFFFFF (Text 2) | #000000 (Text 3) | #FFD700 (Text 4) | #FF0000 (Text 5) |
|---|---|---|---|---|---|
| #228B22 | Same color | 4.39AA Large | 4.78AA | 3.13AA Large | 1.10— |
| #FFFFFF | 4.39AA Large | Same color | 21.00AAA | 1.40— | 4.00AA Large |
| #000000 | 4.78AA | 21.00AAA | Same color | 14.97AAA | 5.25AA |
| #FFD700 | 3.13AA Large | 1.40— | 14.97AAA | Same color | 2.85— |
| #FF0000 | 1.10— | 4.00AA Large | 5.25AA | 2.85— | Same color |
Shades
Shades and tints (50–950)
