PreviewingGo to this paletteOpen in generator
Code
/* Avocado Skin — colorset.net */
:root {
--color-1: #568203;
--color-2: #6B9404;
--color-3: #7FA607;
--color-4: #9ACD32;
--color-5: #B8D433;
--color-bg: #F5F9EA;
--color-surface: #ECF0E1;
--color-border: #D3D8C5;
--color-text: #3E571D;
--color-muted: #636F57;
--color-primary: #5C8100;
--color-on-primary: #FFFFFF;
--color-accent: #7D9200;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0A1203;
--color-surface: #141D0B;
--color-border: #27321C;
--color-text: #C0CAA6;
--color-muted: #7F866C;
--color-primary: #5C8100;
--color-on-primary: #FFFFFF;
--color-accent: #B8D433;
--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 #B8D433 | adjusted for contrast · from #568203 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #568203 | adjusted for contrast · from #B8D433 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #568203 | adjusted for contrast · from #568203 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #6B9404 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.59:1 | AAA pass 4.5:1 | |
| Text on surface | 7.01:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.98:1 | AA pass 4.5:1 | |
| Label on primary | 4.57:1 | AA pass 4.5:1 | |
| Label on accent | 5.98:1 | AA pass 4.5:1 | |
| Primary on background | 4.27:1 | AA Large pass 3:1 | |
| Accent on background | 3.28:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 11.12:1 | AAA pass 4.5:1 | |
| Text on surface | 10.11:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.02:1 | AA pass 4.5:1 | |
| Label on primary | 4.57:1 | AA pass 4.5:1 | |
| Label on accent | 11.36:1 | AAA pass 4.5:1 | |
| Primary on background | 4.17:1 | AA Large pass 3:1 | |
| Accent on background | 11.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 | #568203 (Text 1) | #6B9404 (Text 2) | #7FA607 (Text 3) | #9ACD32 (Text 4) | #B8D433 (Text 5) |
|---|---|---|---|---|---|
| #568203 | Same color | 1.28— | 1.60— | 2.43— | 2.72— |
| #6B9404 | 1.28— | Same color | 1.26— | 1.90— | 2.13— |
| #7FA607 | 1.60— | 1.26— | Same color | 1.52— | 1.70— |
| #9ACD32 | 2.43— | 1.90— | 1.52— | Same color | 1.12— |
| #B8D433 | 2.72— | 2.13— | 1.70— | 1.12— | Same color |
Shades
Shades and tints (50–950)
