PreviewingGo to this paletteOpen in generator
Code
/* Zen Beige — colorset.net */
:root {
--color-1: #F5F5DC;
--color-2: #E6E6FA;
--color-3: #D3D3D3;
--color-4: #BC9A6A;
--color-5: #8B7355;
--color-bg: #F5F5DC;
--color-surface: #FBFCED;
--color-border: #DDDCC0;
--color-text: #654E31;
--color-muted: #7D6B55;
--color-primary: #8B7355;
--color-on-primary: #000000;
--color-accent: #8C8C75;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #150E06;
--color-surface: #1F180F;
--color-border: #362C1F;
--color-text: #F5F5DC;
--color-muted: #8B8B74;
--color-primary: #8B7355;
--color-on-primary: #000000;
--color-accent: #E6E6FA;
--color-on-accent: #150E06;
}
}
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 #8B7355 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #8B7355 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 5 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #8B7355 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.06:1 | AAA pass 4.5:1 | |
| Text on surface | 7.53:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.62:1 | AA pass 4.5:1 | |
| Label on primary | 4.68:1 | AA pass 4.5:1 | |
| Label on accent | 6.12:1 | AA pass 4.5:1 | |
| Primary on background | 4.05:1 | AA Large pass 3:1 | |
| Accent on background | 3.10:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.29:1 | AAA pass 4.5:1 | |
| Text on surface | 15.87:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.51:1 | AA pass 4.5:1 | |
| Label on primary | 4.68:1 | AA pass 4.5:1 | |
| Label on accent | 15.55:1 | AAA pass 4.5:1 | |
| Primary on background | 4.27:1 | AA Large pass 3:1 | |
| Accent on background | 15.55: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 | #F5F5DC (Text 1) | #E6E6FA (Text 2) | #D3D3D3 (Text 3) | #BC9A6A (Text 4) | #8B7355 (Text 5) |
|---|---|---|---|---|---|
| #F5F5DC | Same color | 1.11— | 1.35— | 2.38— | 4.05AA Large |
| #E6E6FA | 1.11— | Same color | 1.22— | 2.14— | 3.65AA Large |
| #D3D3D3 | 1.35— | 1.22— | Same color | 1.76— | 3.00AA Large |
| #BC9A6A | 2.38— | 2.14— | 1.76— | Same color | 1.70— |
| #8B7355 | 4.05AA Large | 3.65AA Large | 3.00AA Large | 1.70— | Same color |
Shades
Shades and tints (50–950)
