PreviewingGo to this paletteOpen in generator
Code
/* Oak Chambers — colorset.net */
:root {
--color-1: #291508;
--color-2: #9C663C;
--color-3: #DBB970;
--color-4: #623E29;
--color-5: #F3EEE3;
--color-bg: #F3EEE3;
--color-surface: #F8F5EF;
--color-border: #DCD5C7;
--color-text: #291508;
--color-muted: #7E6556;
--color-primary: #9C663C;
--color-on-primary: #FFFFFF;
--color-accent: #8D897F;
--color-on-accent: #291508;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #291508;
--color-surface: #352012;
--color-border: #4B3527;
--color-text: #F3EEE3;
--color-muted: #918D83;
--color-primary: #9C663C;
--color-on-primary: #FFFFFF;
--color-accent: #DBB970;
--color-on-accent: #291508;
}
}
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 | from palette · color 2 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #9C663C | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.06:1 | AAA pass 4.5:1 | |
| Text on surface | 16.01:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.67:1 | AA pass 4.5:1 | |
| Label on primary | 4.80:1 | AA pass 4.5:1 | |
| Label on accent | 4.99:1 | AA pass 4.5:1 | |
| Primary on background | 4.14:1 | AA Large pass 3:1 | |
| Accent on background | 3.02:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.06:1 | AAA pass 4.5:1 | |
| Text on surface | 13.28:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.26:1 | AA pass 4.5:1 | |
| Label on primary | 4.80:1 | AA pass 4.5:1 | |
| Label on accent | 9.28:1 | AAA pass 4.5:1 | |
| Primary on background | 3.63:1 | AA Large pass 3:1 | |
| Accent on background | 9.28: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 | #291508 (Text 1) | #9C663C (Text 2) | #DBB970 (Text 3) | #623E29 (Text 4) | #F3EEE3 (Text 5) |
|---|---|---|---|---|---|
| #291508 | Same color | 3.63AA Large | 9.28AAA | 1.86— | 15.06AAA |
| #9C663C | 3.63AA Large | Same color | 2.55— | 1.95— | 4.14AA Large |
| #DBB970 | 9.28AAA | 2.55— | Same color | 4.99AA | 1.62— |
| #623E29 | 1.86— | 1.95— | 4.99AA | Same color | 8.10AAA |
| #F3EEE3 | 15.06AAA | 4.14AA Large | 1.62— | 8.10AAA | Same color |
Shades
Shades and tints (50–950)
