PreviewingGo to this paletteOpen in generator
Code
/* Olive Courtyard — colorset.net */
:root {
--color-1: #F7F6EA;
--color-2: #AAA23F;
--color-3: #AC5154;
--color-4: #D6CC8F;
--color-5: #312F12;
--color-bg: #F7F6EA;
--color-surface: #FEFDF6;
--color-border: #DFDDCE;
--color-text: #312F12;
--color-muted: #727156;
--color-primary: #AC5154;
--color-on-primary: #FFFFFF;
--color-accent: #988F29;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #101007;
--color-surface: #1B1A10;
--color-border: #2F2F21;
--color-text: #F7F6EA;
--color-muted: #8C8B80;
--color-primary: #AC5154;
--color-on-primary: #FFFFFF;
--color-accent: #AAA23F;
--color-on-accent: #101007;
}
}
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 #312F12 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 3 | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #AAA23F | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.50:1 | AAA pass 4.5:1 | |
| Text on surface | 13.32:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.59:1 | AA pass 4.5:1 | |
| Label on primary | 5.17:1 | AA pass 4.5:1 | |
| Label on accent | 6.30:1 | AA pass 4.5:1 | |
| Primary on background | 4.76:1 | AA pass 3:1 | |
| Accent on background | 3.07:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.58:1 | AAA pass 4.5:1 | |
| Text on surface | 16.08:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.57:1 | AA pass 4.5:1 | |
| Label on primary | 5.17:1 | AA pass 4.5:1 | |
| Label on accent | 7.23:1 | AAA pass 4.5:1 | |
| Primary on background | 3.69:1 | AA Large pass 3:1 | |
| Accent on background | 7.23: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 | #F7F6EA (Text 1) | #AAA23F (Text 2) | #AC5154 (Text 3) | #D6CC8F (Text 4) | #312F12 (Text 5) |
|---|---|---|---|---|---|
| #F7F6EA | Same color | 2.43— | 4.76AA | 1.50— | 12.50AAA |
| #AAA23F | 2.43— | Same color | 1.96— | 1.62— | 5.14AA |
| #AC5154 | 4.76AA | 1.96— | Same color | 3.18AA Large | 2.63— |
| #D6CC8F | 1.50— | 1.62— | 3.18AA Large | Same color | 8.34AAA |
| #312F12 | 12.50AAA | 5.14AA | 2.63— | 8.34AAA | Same color |
Shades
Shades and tints (50–950)
