In der VorschauZu dieser PaletteIm Generator öffnen
Code
/* Desert Gold — colorset.net */
:root {
--color-1: #DAA520;
--color-2: #B8860B;
--color-3: #CD853F;
--color-4: #D2B48C;
--color-5: #F4A460;
--color-bg: #FFF5E9;
--color-surface: #F5ECE0;
--color-border: #DFD3C4;
--color-text: #654800;
--color-muted: #766850;
--color-primary: #B18000;
--color-on-primary: #000000;
--color-accent: #AE6316;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #170E00;
--color-surface: #221805;
--color-border: #382C15;
--color-text: #CDB596;
--color-muted: #917F68;
--color-primary: #B8860B;
--color-on-primary: #170E00;
--color-accent: #F4A460;
--color-on-accent: #170E00;
}
}
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 #D2B48C | für Kontrast angepasst · aus #B8860B |
| Fläche | abgeleitet | abgeleitet |
| Rahmen | abgeleitet | abgeleitet |
| Text | für Kontrast angepasst · aus #B8860B | für Kontrast angepasst · aus #D2B48C |
| Sekundärtext | abgeleitet | abgeleitet |
| Primärfarbe | für Kontrast angepasst · aus #B8860B | aus der Palette · Farbe 2 |
| Auf Primärfarbe | abgeleitet | abgeleitet |
| Akzentfarbe | für Kontrast angepasst · aus #B8860B | aus der Palette · Farbe 5 |
| Auf Akzentfarbe | abgeleitet | abgeleitet |
Kontrast
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 7,86:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 7,24:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 5,04:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 5,96:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 4,57:1 | AA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 3,27:1 | AA groß erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 4,24:1 | AA groß erfüllt 3:1 |
| Paar | Beispiel | Kontrast | WCAG |
|---|---|---|---|
| Text auf Hintergrund | 9,68:1 | AAA erfüllt 4.5:1 | |
| Text auf Fläche | 8,87:1 | AAA erfüllt 4.5:1 | |
| Sekundärtext auf Hintergrund | 4,95:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Primärfarbe | 5,87:1 | AA erfüllt 4.5:1 | |
| Beschriftung auf Akzentfarbe | 9,39:1 | AAA erfüllt 4.5:1 | |
| Primärfarbe auf Hintergrund | 5,87:1 | AA erfüllt 3:1 | |
| Akzentfarbe auf Hintergrund | 9,39: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 | #DAA520 (Text 1) | #B8860B (Text 2) | #CD853F (Text 3) | #D2B48C (Text 4) | #F4A460 (Text 5) |
|---|---|---|---|---|---|
| #DAA520 | Gleiche Farbe | 1,45— | 1,34— | 1,13— | 1,10— |
| #B8860B | 1,45— | Gleiche Farbe | 1,09— | 1,65— | 1,60— |
| #CD853F | 1,34— | 1,09— | Gleiche Farbe | 1,52— | 1,47— |
| #D2B48C | 1,13— | 1,65— | 1,52— | Gleiche Farbe | 1,03— |
| #F4A460 | 1,10— | 1,60— | 1,47— | 1,03— | Gleiche Farbe |
Stufen
Farbstufen (50–950)
