In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Old Brass — colorset.net */
:root {
--color-1: #F4D03F;
--color-2: #F1C40F;
--color-3: #D4AC0D;
--color-4: #B7950B;
--color-5: #9A7D0A;
--color-bg: #FBF7E8;
--color-surface: #F2EEDF;
--color-border: #DAD5C3;
--color-text: #5E4B00;
--color-muted: #726950;
--color-primary: #8D7100;
--color-on-primary: #FFFFFF;
--color-accent: #A58500;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #150F00;
--color-surface: #1F1905;
--color-border: #352D15;
--color-text: #DDD3AE;
--color-muted: #8C8469;
--color-primary: #8D7100;
--color-on-primary: #FFFFFF;
--color-accent: #F4D03F;
--color-on-accent: #150F00;
}
}
Farbwerte
| Farbe | HEX | RGB | HSL | OKLCH |
|---|---|---|---|---|
| 1 | ||||
| 2 | ||||
| 3 | ||||
| 4 | ||||
| 5 |
Rollen & Kontrast
Die Originalfarben bleiben erhalten; Rollen werden nur angepasst, wenn der Kontrast es erfordert.
| Rolle | Hellmodus | Dunkelmodus |
|---|---|---|
| Hintergrund | für Kontrast angepasst · aus #F4D03F | für Kontrast angepasst · aus #9A7D0A |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | für Kontrast angepasst · aus #9A7D0A | für Kontrast angepasst · aus #F4D03F |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | für Kontrast angepasst · aus #9A7D0A | für Kontrast angepasst · aus #9A7D0A |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #9A7D0A | aus der Palette · Farbe 1 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,88:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,28:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,08:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 4,67:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 5,95:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 4,35:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 3,29:1 | AA groß erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 12,73:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 11,67:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,11:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 4,67:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 12,67:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 4,09:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 12,67:1 | AAA erfüllt 3:1 |
Jede Farbe auf jeder Farbe
Zeilen sind Hintergründe, Spalten Textfarben, gemessen mit den echten Palettenfarben. Grenzwerte: AAA 7:1, AA 4,5:1, AA großer Text 3:1.
| Hintergrund / Text | #F4D03F (Text 1) | #F1C40F (Text 2) | #D4AC0D (Text 3) | #B7950B (Text 4) | #9A7D0A (Text 5) |
|---|---|---|---|---|---|
| #F4D03F | Gleiche Farbe | 1,10— | 1,44— | 1,91— | 2,62— |
| #F1C40F | 1,10— | Gleiche Farbe | 1,30— | 1,73— | 2,38— |
| #D4AC0D | 1,44— | 1,30— | Gleiche Farbe | 1,33— | 1,83— |
| #B7950B | 1,91— | 1,73— | 1,33— | Gleiche Farbe | 1,38— |
| #9A7D0A | 2,62— | 2,38— | 1,83— | 1,38— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
