HEX in HSL: #3F6212
Auch bekannt als: Tailwind v3 lime-800
Ergebnis
#3F6212 → hsl(86 69% 23%)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #3f6212. 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.2471 G = 0.3843 B = 0.0706
2. max, min, Δ
max = 0.3843 min = 0.0706 Δ = max − min = 0.3137
3. L
L = (max + min) / 2 = 0.2275 = 22.75%
4. S
S = Δ / (1 − |2L − 1|) = 0.6897 = 68.97%
5. H
max is G → H = 60° × ((B − R) / Δ + 2) = 60° × ((0.0706 − 0.2471) / 0.3137 + 2) = 86.25°
6. HSL
hsl(86.25 68.97% 22.75%)
Alle Formate
- HEX
- #3f6212
- RGB
- rgb(63 98 18)
- RGB (legacy)
- rgb(63, 98, 18)
- HSL
- hsl(86.25 68.97% 22.75%) → hsl(86 69% 23%)
- HWB
- hwb(86 7% 62%)
- OKLCH
- oklch(0.453 0.113 130.9) · oklch(45.3% 0.113 130.9)
- OKLab
- oklab(0.453 -0.074 0.085)
- Lab (D50)
- lab(37.66 -23.13 37.83)
- LCH (D50)
- lch(37.66 44.34 121.44)
- Display P3
- color(display-p3 0.2775 0.3807 0.1294)
- Linear sRGB
- color(srgb-linear 0.0497 0.1221 0.0060)
Gamut: sRGB und Display P3
#3F6212 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.124, Display P3 von 0.145; diese Farbe nutzt 91 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #3f6212;
color: rgb(63 98 18);
color: hsl(86 69% 23%);
color: oklch(0.453 0.113 130.9);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.453 0.113 130.9);
}
/* arbitrary values */
class="text-[#3f6212] bg-[oklch(0.453_0.113_130.9)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.2775 0.3807 0.1294); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #3f6212 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- lime-800#3C6300
- v3 green-800#166534
- green-800#016630
- darkgreen#006400
- darkolivegreen#556B2F
- lime-900#35530E
- v3 lime-900#365314
- emerald-800#006045
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #4F7427 · oklch(0.513 0.113 130.9) · ΔL +0.06
- #2F5100 · oklch(0.393 0.113 130.9) · ΔL −0.06