HEX in HSL: #894B00
Auch bekannt als: Tailwind yellow-800
Ergebnis
#894B00 → hsl(33 100% 27%)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #894b00. Die gerundete Form fügst du üblicherweise in CSS ein.
Rechenweg Schritt für Schritt
Jede Zahl wird aus der Eingabe berechnet, nichts ist nachgeschlagen.
1. RGB ÷ 255
R = 0.5373 G = 0.2941 B = 0.0000
2. max, min, Δ
max = 0.5373 min = 0.0000 Δ = max − min = 0.5373
3. L
L = (max + min) / 2 = 0.2686 = 26.86%
4. S
S = Δ / (1 − |2L − 1|) = 1.0000 = 100.00%
5. H
max is R → H = 60° × (((G − B) / Δ) mod 6) = 60° × (((0.2941 − 0.0000) / 0.5373) mod 6) = 32.85°
6. HSL
hsl(32.85 100.00% 26.86%)
Alle Formate
- HEX
- #894b00
- RGB
- rgb(137 75 0)
- RGB (legacy)
- rgb(137, 75, 0)
- HSL
- hsl(32.85 100.00% 26.86%) → hsl(33 100% 27%)
- HWB
- hwb(33 0% 46%)
- OKLCH
- oklch(0.478 0.112 60.4) · oklch(47.8% 0.112 60.4)
- OKLab
- oklab(0.478 0.055 0.097)
- Lab (D50)
- lab(38.92 23.68 48.27)
- LCH (D50)
- lch(38.92 53.76 63.87)
- Display P3
- color(display-p3 0.5045 0.3062 0.0957)
- Linear sRGB
- color(srgb-linear 0.2502 0.0704 0.0000)
Gamut: sRGB und Display P3
#894B00 ist eine Hex-Farbe und liegt damit in sRGB und folglich in Display P3. Bei dieser Helligkeit und diesem Farbton erreicht sRGB eine Chroma von 0.112, Display P3 von 0.127; diese Farbe nutzt 100 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #894b00;
color: rgb(137 75 0);
color: hsl(33 100% 27%);
color: oklch(0.478 0.112 60.4);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.478 0.112 60.4);
}
/* arbitrary values */
class="text-[#894b00] bg-[oklch(0.478_0.112_60.4)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.5045 0.3062 0.0957); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #894b00 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- v3 yellow-800#854D0E
- saddlebrown#8B4513
- v3 amber-800#92400E
- amber-800#973C00
- sienna#A0522D
- yellow-900#733E0A
- v3 orange-800#9A3412
- v3 yellow-900#713F12
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #9C5C1D · oklch(0.538 0.112 60.4) · ΔL +0.06
- #763A00 · oklch(0.418 0.112 60.4) · ΔL −0.06