PreviewingGo to this paletteOpen in generator
Code
/* Rye Field — colorset.net */
:root {
--color-1: #F6F1E7;
--color-2: #C08B3E;
--color-3: #4F6D7A;
--color-4: #DCD3C3;
--color-5: #2C2A26;
--color-bg: #F6F1E7;
--color-surface: #FCF9F2;
--color-border: #DFD8CB;
--color-text: #2C2A26;
--color-muted: #706E69;
--color-primary: #B37F30;
--color-on-primary: #000000;
--color-accent: #4F6D7A;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #100F0E;
--color-surface: #1A1918;
--color-border: #302E29;
--color-text: #F6F1E7;
--color-muted: #8C887F;
--color-primary: #C08B3E;
--color-on-primary: #100F0E;
--color-accent: #4F6D7A;
--color-on-accent: #FFFFFF;
}
}
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 #2C2A26 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #C08B3E | 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 | 12.72:1 | AAA pass 4.5:1 | |
| Text on surface | 13.62:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.52:1 | AA pass 4.5:1 | |
| Label on primary | 6.00:1 | AA pass 4.5:1 | |
| Label on accent | 5.52:1 | AA pass 4.5:1 | |
| Primary on background | 3.11:1 | AA Large pass 3:1 | |
| Accent on background | 4.91:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.01:1 | AAA pass 4.5:1 | |
| Text on surface | 15.60:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.42:1 | AA pass 4.5:1 | |
| Label on primary | 6.39:1 | AA pass 4.5:1 | |
| Label on accent | 5.52:1 | AA pass 4.5:1 | |
| Primary on background | 6.39:1 | AA pass 3:1 | |
| Accent on background | 3.47: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 | #F6F1E7 (Text 1) | #C08B3E (Text 2) | #4F6D7A (Text 3) | #DCD3C3 (Text 4) | #2C2A26 (Text 5) |
|---|---|---|---|---|---|
| #F6F1E7 | Same color | 2.66— | 4.91AA | 1.32— | 12.72AAA |
| #C08B3E | 2.66— | Same color | 1.84— | 2.02— | 4.78AA |
| #4F6D7A | 4.91AA | 1.84— | Same color | 3.72AA Large | 2.59— |
| #DCD3C3 | 1.32— | 2.02— | 3.72AA Large | Same color | 9.65AAA |
| #2C2A26 | 12.72AAA | 4.78AA | 2.59— | 9.65AAA | Same color |
Shades
Shades and tints (50–950)
