PreviewingGo to this paletteOpen in generator
Code
/* Study Beige — colorset.net */
:root {
--color-1: #D2B48C;
--color-2: #F5DEB3;
--color-3: #DEB887;
--color-4: #BC9A6A;
--color-5: #A0826D;
--color-bg: #FDF6E9;
--color-surface: #F4EDE0;
--color-border: #DCD4C4;
--color-text: #644935;
--color-muted: #7E6655;
--color-primary: #A38252;
--color-on-primary: #000000;
--color-accent: #6C522B;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #160D07;
--color-surface: #201711;
--color-border: #372B22;
--color-text: #F1DFBC;
--color-muted: #8F8168;
--color-primary: #BC9A6A;
--color-on-primary: #160D07;
--color-accent: #DEB887;
--color-on-accent: #160D07;
}
}
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 #F5DEB3 | adjusted for contrast · from #A0826D |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #A0826D | adjusted for contrast · from #F5DEB3 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #A0826D | from palette · color 4 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #A0826D | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.67:1 | AAA pass 4.5:1 | |
| Text on surface | 7.08:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 5.87:1 | AA pass 4.5:1 | |
| Label on accent | 7.29:1 | AAA pass 4.5:1 | |
| Primary on background | 3.33:1 | AA Large pass 3:1 | |
| Accent on background | 6.78:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.63:1 | AAA pass 4.5:1 | |
| Text on surface | 13.44:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 7.28:1 | AAA pass 4.5:1 | |
| Label on accent | 10.33:1 | AAA pass 4.5:1 | |
| Primary on background | 7.28:1 | AAA pass 3:1 | |
| Accent on background | 10.33: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 | #D2B48C (Text 1) | #F5DEB3 (Text 2) | #DEB887 (Text 3) | #BC9A6A (Text 4) | #A0826D (Text 5) |
|---|---|---|---|---|---|
| #D2B48C | Same color | 1.50— | 1.06— | 1.34— | 1.80— |
| #F5DEB3 | 1.50— | Same color | 1.41— | 2.01— | 2.70— |
| #DEB887 | 1.06— | 1.41— | Same color | 1.42— | 1.91— |
| #BC9A6A | 1.34— | 2.01— | 1.42— | Same color | 1.35— |
| #A0826D | 1.80— | 2.70— | 1.91— | 1.35— | Same color |
Shades
Shades and tints (50–950)
