HEX in HSL: #065F46
Auch bekannt als: Tailwind v3 emerald-800
Ergebnis
#065F46 → hsl(163 88% 20%)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #065f46. 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.0235 G = 0.3725 B = 0.2745
2. max, min, Δ
max = 0.3725 min = 0.0235 Δ = max − min = 0.3490
3. L
L = (max + min) / 2 = 0.1980 = 19.80%
4. S
S = Δ / (1 − |2L − 1|) = 0.8812 = 88.12%
5. H
max is G → H = 60° × ((B − R) / Δ + 2) = 60° × ((0.2745 − 0.0235) / 0.3490 + 2) = 163.15°
6. HSL
hsl(163.15 88.12% 19.80%)
Alle Formate
- HEX
- #065f46
- RGB
- rgb(6 95 70)
- RGB (legacy)
- rgb(6, 95, 70)
- HSL
- hsl(163.15 88.12% 19.80%) → hsl(163 88% 20%)
- HWB
- hwb(163 2% 63%)
- OKLCH
- oklch(0.432 0.086 166.9) · oklch(43.2% 0.086 166.9)
- OKLab
- oklab(0.432 -0.084 0.020)
- Lab (D50)
- lab(35.23 -29.98 7.30)
- LCH (D50)
- lch(35.23 30.85 166.31)
- Display P3
- color(display-p3 0.1593 0.3667 0.2808)
- Linear sRGB
- color(srgb-linear 0.0018 0.1144 0.0612)
Gamut: sRGB und Display P3
#065F46 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.089, Display P3 von 0.121; diese Farbe nutzt 98 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #065f46;
color: rgb(6 95 70);
color: hsl(163 88% 20%);
color: oklch(0.432 0.086 166.9);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.432 0.086 166.9);
}
/* arbitrary values */
class="text-[#065f46] bg-[oklch(0.432_0.086_166.9)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.1593 0.3667 0.2808); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #065f46 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- emerald-800#006045
- teal-800#005F5A
- v3 teal-800#115E59
- v3 green-800#166534
- green-800#016630
- v3 green-900#14532D
- green-900#0D542B
- emerald-900#004F3B
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #227056 · oklch(0.492 0.086 166.9) · ΔL +0.06
- #004E36 · oklch(0.372 0.086 166.9) · ΔL −0.06