In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Amber Pharmacy — colorset.net */
:root {
--color-1: #FBF9F4;
--color-2: #D98324;
--color-3: #2A6F97;
--color-4: #EAD3B0;
--color-5: #26201A;
--color-bg: #FBF9F4;
--color-surface: #F2F0EB;
--color-border: #DAD7CF;
--color-text: #26201A;
--color-muted: #746C65;
--color-primary: #AF6400;
--color-on-primary: #FFFFFF;
--color-accent: #2A6F97;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #26201A;
--color-surface: #312B25;
--color-border: #494037;
--color-text: #FBF9F4;
--color-muted: #989692;
--color-primary: #D98324;
--color-on-primary: #26201A;
--color-accent: #377BA4;
--color-on-accent: #FFFFFF;
}
}
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 | aus der Palette · Farbe 1 | aus der Palette · Farbe 5 |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | aus der Palette · Farbe 5 | aus der Palette · Farbe 1 |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | für Kontrast angepasst · aus #D98324 | aus der Palette · Farbe 2 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | aus der Palette · Farbe 3 | für Kontrast angepasst · aus #2A6F97 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 15,31:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 14,14:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,90:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 4,52:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 5,50:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 4,30:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 5,23:1 | AA erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 15,31:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 13,28:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,45:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 5,54:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 4,63:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 5,54:1 | AA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 3,48:1 | AA groß 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 | #FBF9F4 (Text 1) | #D98324 (Text 2) | #2A6F97 (Text 3) | #EAD3B0 (Text 4) | #26201A (Text 5) |
|---|---|---|---|---|---|
| #FBF9F4 | Gleiche Farbe | 2,76— | 5,23AA | 1,38— | 15,31AAA |
| #D98324 | 2,76— | Gleiche Farbe | 1,89— | 2,00— | 5,54AA |
| #2A6F97 | 5,23AA | 1,89— | Gleiche Farbe | 3,78AA groß | 2,93— |
| #EAD3B0 | 1,38— | 2,00— | 3,78AA groß | Gleiche Farbe | 11,08AAA |
| #26201A | 15,31AAA | 5,54AA | 2,93— | 11,08AAA | Gleiche Farbe |
Stufen
Farbstufen (50–950)
