PreviewingGo to this paletteOpen in generator
Code
/* Lichen Rock — colorset.net */
:root {
--color-1: #EFF1EA;
--color-2: #7A8E5A;
--color-3: #5C7C99;
--color-4: #CED5C4;
--color-5: #23272A;
--color-bg: #EFF1EA;
--color-surface: #F7F8F4;
--color-border: #D6D9CE;
--color-text: #23272A;
--color-muted: #676C6F;
--color-primary: #7A8E5A;
--color-on-primary: #000000;
--color-accent: #5C7C99;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0E1011;
--color-surface: #181A1B;
--color-border: #2A2E32;
--color-text: #EFF1EA;
--color-muted: #878982;
--color-primary: #7A8E5A;
--color-on-primary: #0E1011;
--color-accent: #5C7C99;
--color-on-accent: #000000;
}
}
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 #23272A |
| 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 | from palette · color 3 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.22:1 | AAA pass 4.5:1 | |
| Text on surface | 14.11:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.67:1 | AA pass 4.5:1 | |
| Label on primary | 5.84:1 | AA pass 4.5:1 | |
| Label on accent | 4.80:1 | AA pass 4.5:1 | |
| Primary on background | 3.16: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.75:1 | AAA pass 4.5:1 | |
| Text on surface | 15.34:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.39:1 | AA pass 4.5:1 | |
| Label on primary | 5.31:1 | AA pass 4.5:1 | |
| Label on accent | 4.80:1 | AA pass 4.5:1 | |
| Primary on background | 5.31:1 | AA pass 3:1 | |
| Accent on background | 4.36:1 | AA Large 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 | #EFF1EA (Text 1) | #7A8E5A (Text 2) | #5C7C99 (Text 3) | #CED5C4 (Text 4) | #23272A (Text 5) |
|---|---|---|---|---|---|
| #EFF1EA | Same color | 3.16AA Large | 3.84AA Large | 1.32— | 13.22AAA |
| #7A8E5A | 3.16AA Large | Same color | 1.22— | 2.39— | 4.19AA Large |
| #5C7C99 | 3.84AA Large | 1.22— | Same color | 2.91— | 3.44AA Large |
| #CED5C4 | 1.32— | 2.39— | 2.91— | Same color | 9.99AAA |
| #23272A | 13.22AAA | 4.19AA Large | 3.44AA Large | 9.99AAA | Same color |
Shades
Shades and tints (50–950)
