PreviewingGo to this paletteOpen in generator
Code
/* Adventure Green — colorset.net */
:root {
--color-1: #228B22;
--color-2: #32CD32;
--color-3: #FFD700;
--color-4: #0000CD;
--color-5: #8B4513;
--color-bg: #FBF7E8;
--color-surface: #F1EEDF;
--color-border: #DAD5C3;
--color-text: #2A4173;
--color-muted: #616C84;
--color-primary: #0000CD;
--color-on-primary: #FFFFFF;
--color-accent: #8C7500;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #080F1F;
--color-surface: #11192A;
--color-border: #242E42;
--color-text: #E4DAB5;
--color-muted: #898267;
--color-primary: #1754FF;
--color-on-primary: #FFFFFF;
--color-accent: #FFD700;
--color-on-accent: #080F1F;
}
}
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 #FFD700 | adjusted for contrast · from #0000CD |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #0000CD | adjusted for contrast · from #FFD700 |
| Muted text | derived | derived |
| Primary | from palette · color 4 | adjusted for contrast · from #0000CD |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #228B22 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 9.31:1 | AAA pass 4.5:1 | |
| Text on surface | 8.58:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.91:1 | AA pass 4.5:1 | |
| Label on primary | 11.16:1 | AAA pass 4.5:1 | |
| Label on accent | 4.51:1 | AA pass 4.5:1 | |
| Primary on background | 10.40:1 | AAA pass 3:1 | |
| Accent on background | 4.20:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.65:1 | AAA pass 4.5:1 | |
| Text on surface | 12.53:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 5.60:1 | AA pass 4.5:1 | |
| Label on accent | 13.63:1 | AAA pass 4.5:1 | |
| Primary on background | 3.41:1 | AA Large pass 3:1 | |
| Accent on background | 13.63: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) | #FFD700 (Text 3) | #0000CD (Text 4) | #8B4513 (Text 5) |
|---|---|---|---|---|---|
| #228B22 | Same color | 2.07— | 3.13AA Large | 2.54— | 1.62— |
| #32CD32 | 2.07— | Same color | 1.51— | 5.27AA | 3.35AA Large |
| #FFD700 | 3.13AA Large | 1.51— | Same color | 7.96AAA | 5.06AA |
| #0000CD | 2.54— | 5.27AA | 7.96AAA | Same color | 1.57— |
| #8B4513 | 1.62— | 3.35AA Large | 5.06AA | 1.57— | Same color |
Shades
Shades and tints (50–950)
