PreviewingGo to this paletteOpen in generator
Code
/* Coastal Ochre — colorset.net */
:root {
--color-1: #005F73;
--color-2: #0A9396;
--color-3: #94D2BD;
--color-4: #E9D8A6;
--color-5: #CA6702;
--color-bg: #FCF7E8;
--color-surface: #F2EDDF;
--color-border: #DBD5C3;
--color-text: #005668;
--color-muted: #4F6F79;
--color-primary: #B95D00;
--color-on-primary: #FFFFFF;
--color-accent: #008385;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #001218;
--color-surface: #051D23;
--color-border: #16323A;
--color-text: #E5D8B4;
--color-muted: #8D8469;
--color-primary: #B95D00;
--color-on-primary: #FFFFFF;
--color-accent: #008385;
--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 | adjusted for contrast · from #E9D8A6 | adjusted for contrast · from #005F73 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #005F73 | adjusted for contrast · from #E9D8A6 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #CA6702 | adjusted for contrast · from #CA6702 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #0A9396 | adjusted for contrast · from #0A9396 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.75:1 | AAA pass 4.5:1 | |
| Text on surface | 7.09:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 4.54:1 | AA pass 4.5:1 | |
| Label on accent | 4.58:1 | AA pass 4.5:1 | |
| Primary on background | 4.24:1 | AA Large pass 3:1 | |
| Accent on background | 4.28:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.47:1 | AAA pass 4.5:1 | |
| Text on surface | 12.28:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.13:1 | AA pass 4.5:1 | |
| Label on primary | 4.54:1 | AA pass 4.5:1 | |
| Label on accent | 4.58:1 | AA pass 4.5:1 | |
| Primary on background | 4.21:1 | AA Large pass 3:1 | |
| Accent on background | 4.17: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 | #005F73 (Text 1) | #0A9396 (Text 2) | #94D2BD (Text 3) | #E9D8A6 (Text 4) | #CA6702 (Text 5) |
|---|---|---|---|---|---|
| #005F73 | Same color | 1.95— | 4.23AA Large | 5.14AA | 1.89— |
| #0A9396 | 1.95— | Same color | 2.17— | 2.64— | 1.03— |
| #94D2BD | 4.23AA Large | 2.17— | Same color | 1.21— | 2.24— |
| #E9D8A6 | 5.14AA | 2.64— | 1.21— | Same color | 2.72— |
| #CA6702 | 1.89— | 1.03— | 2.24— | 2.72— | Same color |
Shades
Shades and tints (50–950)
