PreviewingGo to this paletteOpen in generator
Code
/* Charcoal Citrus — colorset.net */
:root {
--color-1: #1A1C1E;
--color-2: #C5E063;
--color-3: #FF8C61;
--color-4: #33373B;
--color-5: #EEEFE9;
--color-bg: #EEEFE9;
--color-surface: #F5F6F2;
--color-border: #D5D7CD;
--color-text: #1A1C1E;
--color-muted: #696C6E;
--color-primary: #D9693F;
--color-on-primary: #1A1C1E;
--color-accent: #7C9300;
--color-on-accent: #1A1C1E;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1A1C1E;
--color-surface: #252729;
--color-border: #383C41;
--color-text: #EEEFE9;
--color-muted: #8D8E89;
--color-primary: #FF8C61;
--color-on-primary: #1A1C1E;
--color-accent: #C5E063;
--color-on-accent: #1A1C1E;
}
}
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 5 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FF8C61 | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FF8C61 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.78:1 | AAA pass 4.5:1 | |
| Text on surface | 15.74:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.57:1 | AA pass 4.5:1 | |
| Label on primary | 4.92:1 | AA pass 4.5:1 | |
| Label on accent | 4.91:1 | AA pass 4.5:1 | |
| Primary on background | 3.01:1 | AA Large pass 3:1 | |
| Accent on background | 3.01:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.78:1 | AAA pass 4.5:1 | |
| Text on surface | 12.96:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.18:1 | AA pass 4.5:1 | |
| Label on primary | 7.47:1 | AAA pass 4.5:1 | |
| Label on accent | 11.57:1 | AAA pass 4.5:1 | |
| Primary on background | 7.47:1 | AAA pass 3:1 | |
| Accent on background | 11.57: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 | #1A1C1E (Text 1) | #C5E063 (Text 2) | #FF8C61 (Text 3) | #33373B (Text 4) | #EEEFE9 (Text 5) |
|---|---|---|---|---|---|
| #1A1C1E | Same color | 11.57AAA | 7.47AAA | 1.42— | 14.78AAA |
| #C5E063 | 11.57AAA | Same color | 1.55— | 8.12AAA | 1.28— |
| #FF8C61 | 7.47AAA | 1.55— | Same color | 5.24AA | 1.98— |
| #33373B | 1.42— | 8.12AAA | 5.24AA | Same color | 10.37AAA |
| #EEEFE9 | 14.78AAA | 1.28— | 1.98— | 10.37AAA | Same color |
Shades
Shades and tints (50–950)
