PreviewingGo to this paletteOpen in generator
Code
/* Green Blue — colorset.net */
:root {
--color-1: #228B22;
--color-2: #32CD32;
--color-3: #90EE90;
--color-4: #87CEEB;
--color-5: #F4A460;
--color-bg: #EFFBEF;
--color-surface: #E6F1E5;
--color-border: #CBD9CB;
--color-text: #2C592A;
--color-muted: #5C705B;
--color-primary: #008808;
--color-on-primary: #FFFFFF;
--color-accent: #AE6316;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #061305;
--color-surface: #0F1E0E;
--color-border: #223320;
--color-text: #C1DDBF;
--color-muted: #748873;
--color-primary: #32CD32;
--color-on-primary: #061305;
--color-accent: #F4A460;
--color-on-accent: #061305;
}
}
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 #90EE90 | adjusted for contrast · from #228B22 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #228B22 | adjusted for contrast · from #87CEEB |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #228B22 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #228B22 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.67:1 | AAA pass 4.5:1 | |
| Text on surface | 7.04:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 4.57:1 | AA pass 4.5:1 | |
| Primary on background | 4.36:1 | AA Large pass 3:1 | |
| Accent on background | 4.29:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.02:1 | AAA pass 4.5:1 | |
| Text on surface | 11.85:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 8.99:1 | AAA pass 4.5:1 | |
| Label on accent | 9.36:1 | AAA pass 4.5:1 | |
| Primary on background | 8.99:1 | AAA pass 3:1 | |
| Accent on background | 9.36: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) | #32CD32 (Text 2) | #90EE90 (Text 3) | #87CEEB (Text 4) | #F4A460 (Text 5) |
|---|---|---|---|---|---|
| #228B22 | Same color | 2.07— | 3.10AA Large | 2.52— | 2.16— |
| #32CD32 | 2.07— | Same color | 1.49— | 1.22— | 1.04— |
| #90EE90 | 3.10AA Large | 1.49— | Same color | 1.23— | 1.44— |
| #87CEEB | 2.52— | 1.22— | 1.23— | Same color | 1.17— |
| #F4A460 | 2.16— | 1.04— | 1.44— | 1.17— | Same color |
Shades
Shades and tints (50–950)
