PreviewingGo to this paletteOpen in generator
Code
/* Avocado Kitchen — colorset.net */
:root {
--color-1: #F1ECD2;
--color-2: #6B7D2A;
--color-3: #E0A030;
--color-4: #9C5B3A;
--color-5: #2A2B1C;
--color-bg: #F1ECD2;
--color-surface: #F6F3E3;
--color-border: #D9D3B6;
--color-text: #2A2B1C;
--color-muted: #696A59;
--color-primary: #6B7D2A;
--color-on-primary: #FFFFFF;
--color-accent: #9E6C00;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F100B;
--color-surface: #191A14;
--color-border: #2E2F26;
--color-text: #F1ECD2;
--color-muted: #8A866E;
--color-primary: #6B7D2A;
--color-on-primary: #FFFFFF;
--color-accent: #E0A030;
--color-on-accent: #0F100B;
}
}
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 | from palette · color 1 | adjusted for contrast · from #2A2B1C |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 2 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #9C5B3A | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.10:1 | AAA pass 4.5:1 | |
| Text on surface | 12.90:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.64: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 | 3.85:1 | AA Large pass 3:1 | |
| Accent on background | 3.84:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.07:1 | AAA pass 4.5:1 | |
| Text on surface | 14.73:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.20:1 | AA pass 4.5:1 | |
| Label on primary | 4.57:1 | AA pass 4.5:1 | |
| Label on accent | 8.41:1 | AAA pass 4.5:1 | |
| Primary on background | 4.18:1 | AA Large pass 3:1 | |
| Accent on background | 8.41: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 | #F1ECD2 (Text 1) | #6B7D2A (Text 2) | #E0A030 (Text 3) | #9C5B3A (Text 4) | #2A2B1C (Text 5) |
|---|---|---|---|---|---|
| #F1ECD2 | Same color | 3.85AA Large | 1.91— | 4.45AA Large | 12.10AAA |
| #6B7D2A | 3.85AA Large | Same color | 2.01— | 1.16— | 3.14AA Large |
| #E0A030 | 1.91— | 2.01— | Same color | 2.33— | 6.33AA |
| #9C5B3A | 4.45AA Large | 1.16— | 2.33— | Same color | 2.72— |
| #2A2B1C | 12.10AAA | 3.14AA Large | 6.33AA | 2.72— | Same color |
Shades
Shades and tints (50–950)
