HEX in HSL: #059669
Auch bekannt als: Tailwind v3 emerald-600
Ergebnis
#059669 → hsl(161 94% 30%)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #059669. 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.0196 G = 0.5882 B = 0.4118
2. max, min, Δ
max = 0.5882 min = 0.0196 Δ = max − min = 0.5686
3. L
L = (max + min) / 2 = 0.3039 = 30.39%
4. S
S = Δ / (1 − |2L − 1|) = 0.9355 = 93.55%
5. H
max is G → H = 60° × ((B − R) / Δ + 2) = 60° × ((0.4118 − 0.0196) / 0.5686 + 2) = 161.38°
6. HSL
hsl(161.38 93.55% 30.39%)
Alle Formate
- HEX
- #059669
- RGB
- rgb(5 150 105)
- RGB (legacy)
- rgb(5, 150, 105)
- HSL
- hsl(161.38 93.55% 30.39%) → hsl(161 94% 30%)
- HWB
- hwb(161 2% 41%)
- OKLCH
- oklch(0.596 0.127 163.2) · oklch(59.6% 0.127 163.2)
- OKLab
- oklab(0.596 -0.122 0.037)
- Lab (D50)
- lab(54.82 -43.50 13.94)
- LCH (D50)
- lch(54.82 45.68 162.23)
- Display P3
- color(display-p3 0.2610 0.5793 0.4246)
- Linear sRGB
- color(srgb-linear 0.0015 0.3050 0.1413)
Gamut: sRGB und Display P3
#059669 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.128, Display P3 von 0.176; diese Farbe nutzt 99 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #059669;
color: rgb(5 150 105);
color: hsl(161 94% 30%);
color: oklch(0.596 0.127 163.2);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.596 0.127 163.2);
}
/* arbitrary values */
class="text-[#059669] bg-[oklch(0.596_0.127_163.2)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.2610 0.5793 0.4246); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #059669 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- emerald-600#009966
- seagreen#2E8B57
- teal-600#009689
- v3 teal-600#0D9488
- v3 green-600#16A34A
- darkcyan#008B8B
- v3 green-700#15803D
- forestgreen#228B22
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #2DA97B · oklch(0.656 0.127 163.2) · ΔL +0.06
- #008458 · oklch(0.536 0.127 163.2) · ΔL −0.06