PreviewingGo to this paletteOpen in generator
Code
/* Oak Brown — colorset.net */
:root {
--color-1: #806517;
--color-2: #9A7C1F;
--color-3: #B49327;
--color-4: #CEAA2F;
--color-5: #E8C137;
--color-bg: #FBF7E8;
--color-surface: #F2EDDF;
--color-border: #DBD5C3;
--color-text: #604A00;
--color-muted: #73694F;
--color-primary: #917310;
--color-on-primary: #FFFFFF;
--color-accent: #A68500;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #160E00;
--color-surface: #201805;
--color-border: #362D15;
--color-text: #D0C5A1;
--color-muted: #8B8268;
--color-primary: #917310;
--color-on-primary: #FFFFFF;
--color-accent: #E8C137;
--color-on-accent: #160E00;
}
}
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 #E8C137 | adjusted for contrast · from #806517 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #806517 | adjusted for contrast · from #E8C137 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #9A7C1F | adjusted for contrast · from #9A7C1F |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #9A7C1F | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.90:1 | AAA pass 4.5:1 | |
| Text on surface | 7.25:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.07:1 | AA pass 4.5:1 | |
| Label on primary | 4.50:1 | AA pass 4.5:1 | |
| Label on accent | 5.98:1 | AA pass 4.5:1 | |
| Primary on background | 4.20:1 | AA Large pass 3:1 | |
| Accent on background | 3.27:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 11.11:1 | AAA pass 4.5:1 | |
| Text on surface | 10.20:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 4.50:1 | AA pass 4.5:1 | |
| Label on accent | 11.04:1 | AAA pass 4.5:1 | |
| Primary on background | 4.25:1 | AA Large pass 3:1 | |
| Accent on background | 11.04: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 | #806517 (Text 1) | #9A7C1F (Text 2) | #B49327 (Text 3) | #CEAA2F (Text 4) | #E8C137 (Text 5) |
|---|---|---|---|---|---|
| #806517 | Same color | 1.39— | 1.88— | 2.48— | 3.19AA Large |
| #9A7C1F | 1.39— | Same color | 1.35— | 1.78— | 2.30— |
| #B49327 | 1.88— | 1.35— | Same color | 1.32— | 1.70— |
| #CEAA2F | 2.48— | 1.78— | 1.32— | Same color | 1.29— |
| #E8C137 | 3.19AA Large | 2.30— | 1.70— | 1.29— | Same color |
Shades
Shades and tints (50–950)
