PreviewingGo to this paletteOpen in generator
Code
/* Olive Gold — colorset.net */
:root {
--color-1: #228B22;
--color-2: #9ACD32;
--color-3: #F4A460;
--color-4: #DEB887;
--color-5: #87CEEB;
--color-bg: #ECF9FF;
--color-surface: #E0F1F8;
--color-border: #C4D9E2;
--color-text: #2C592A;
--color-muted: #5C705B;
--color-primary: #1D881E;
--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: #A1CADB;
--color-muted: #688794;
--color-primary: #1D881E;
--color-on-primary: #FFFFFF;
--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 #87CEEB | 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 | adjusted for contrast · from #228B22 |
| 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 | 7.61:1 | AAA pass 4.5:1 | |
| Text on surface | 7.05:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 4.57:1 | AA pass 4.5:1 | |
| Label on accent | 4.57:1 | AA pass 4.5:1 | |
| Primary on background | 4.26:1 | AA Large pass 3:1 | |
| Accent on background | 4.26:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 10.87:1 | AAA pass 4.5:1 | |
| Text on surface | 9.89:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 4.57:1 | AA pass 4.5:1 | |
| Label on accent | 9.36:1 | AAA pass 4.5:1 | |
| Primary on background | 4.16:1 | AA Large 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) | #9ACD32 (Text 2) | #F4A460 (Text 3) | #DEB887 (Text 4) | #87CEEB (Text 5) |
|---|---|---|---|---|---|
| #228B22 | Same color | 2.33— | 2.16— | 2.36— | 2.52— |
| #9ACD32 | 2.33— | Same color | 1.08— | 1.01— | 1.08— |
| #F4A460 | 2.16— | 1.08— | Same color | 1.10— | 1.17— |
| #DEB887 | 2.36— | 1.01— | 1.10— | Same color | 1.07— |
| #87CEEB | 2.52— | 1.08— | 1.17— | 1.07— | Same color |
Shades
Shades and tints (50–950)
