PreviewingGo to this paletteOpen in generator
Code
/* Ripe Avocado — colorset.net */
:root {
--color-1: #568203;
--color-2: #6D9C13;
--color-3: #84B623;
--color-4: #9BD033;
--color-5: #B2EA4D;
--color-bg: #F3FAEB;
--color-surface: #EAF0E2;
--color-border: #D0D8C7;
--color-text: #3B541A;
--color-muted: #647058;
--color-primary: #598200;
--color-on-primary: #FFFFFF;
--color-accent: #6C9600;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0A1203;
--color-surface: #141D0B;
--color-border: #27321C;
--color-text: #CBDBB8;
--color-muted: #7B876D;
--color-primary: #6D9C13;
--color-on-primary: #0A1203;
--color-accent: #B2EA4D;
--color-on-accent: #0A1203;
}
}
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 #B2EA4D | adjusted for contrast · from #568203 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #568203 | adjusted for contrast · from #B2EA4D |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #568203 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #6D9C13 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.97:1 | AAA pass 4.5:1 | |
| Text on surface | 7.31:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.92:1 | AA pass 4.5:1 | |
| Label on primary | 4.55:1 | AA pass 4.5:1 | |
| Label on accent | 6.00:1 | AA pass 4.5:1 | |
| Primary on background | 4.26:1 | AA Large pass 3:1 | |
| Accent on background | 3.28:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.05:1 | AAA pass 4.5:1 | |
| Text on surface | 11.87:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 5.83:1 | AA pass 4.5:1 | |
| Label on accent | 13.42:1 | AAA pass 4.5:1 | |
| Primary on background | 5.83:1 | AA pass 3:1 | |
| Accent on background | 13.42: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 | #568203 (Text 1) | #6D9C13 (Text 2) | #84B623 (Text 3) | #9BD033 (Text 4) | #B2EA4D (Text 5) |
|---|---|---|---|---|---|
| #568203 | Same color | 1.40— | 1.89— | 2.50— | 3.22AA Large |
| #6D9C13 | 1.40— | Same color | 1.36— | 1.79— | 2.30— |
| #84B623 | 1.89— | 1.36— | Same color | 1.32— | 1.70— |
| #9BD033 | 2.50— | 1.79— | 1.32— | Same color | 1.29— |
| #B2EA4D | 3.22AA Large | 2.30— | 1.70— | 1.29— | Same color |
Shades
Shades and tints (50–950)
