HEX in OKLCH: #D6D3D1
Auch bekannt als: Tailwind stone-300, Tailwind v3 stone-300
Ergebnis
#D6D3D1 → oklch(0.869 0.004 56.4)
Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #d6d3d1. 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. sRGB → linear
R: 214/255 = 0.83922 → 0.672443 (((x + 0.055) / 1.055)^2.4) G: 211/255 = 0.82745 → 0.651406 (((x + 0.055) / 1.055)^2.4) B: 209/255 = 0.81961 → 0.637597 (((x + 0.055) / 1.055)^2.4)
2. linear sRGB → LMS
l = 0.4122·R + 0.5363·G + 0.0514·B = 0.659367 m = 0.2119·R + 0.6807·G + 0.1074·B = 0.654381 s = 0.0883·R + 0.2817·G + 0.6300·B = 0.644564
3. cube root
l′ = ∛0.659367 = 0.870380 m′ = ∛0.654381 = 0.868181 s′ = ∛0.644564 = 0.863818
4. LMS′ → Oklab
L = 0.2105·l′ + 0.7936·m′ − 0.0041·s′ = 0.86866 a = 1.9780·l′ − 2.4286·m′ + 0.4506·s′ = 0.00239 b = 0.0259·l′ + 0.7828·m′ − 0.8087·s′ = 0.00359
5. Oklab → OKLCH
C = √(a² + b²) = 0.00431 H = atan2(b, a) = 56.366° L = 0.86866
6. OKLCH
oklch(0.86866 0.00431 56.366) rounded: oklch(0.869 0.004 56.4)
Alle Formate
- HEX
- #d6d3d1
- RGB
- rgb(214 211 209)
- RGB (legacy)
- rgb(214, 211, 209)
- HSL
- hsl(24.00 5.75% 82.94%) → hsl(24 6% 83%)
- HWB
- hwb(24 82% 16%)
- OKLCH
- oklch(0.869 0.004 56.4) · oklch(86.9% 0.004 56.4)
- OKLab
- oklab(0.869 0.002 0.004)
- Lab (D50)
- lab(84.75 0.80 1.38)
- LCH (D50)
- lch(84.75 1.59 59.86)
- Display P3
- color(display-p3 0.8371 0.8278 0.8205)
- Linear sRGB
- color(srgb-linear 0.6724 0.6514 0.6376)
Gamut: sRGB und Display P3
#D6D3D1 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.083, Display P3 von 0.106; diese Farbe nutzt 5 % der verfügbaren sRGB-Chroma.
CSS-Snippets
.element {
color: #d6d3d1;
color: rgb(214 211 209);
color: hsl(24 6% 83%);
color: oklch(0.869 0.004 56.4);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.869 0.004 56.4);
}
/* arbitrary values */
class="text-[#d6d3d1] bg-[oklch(0.869_0.004_56.4)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.8371 0.8278 0.8205); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #d6d3d1 calc(l - 0.1) c h); }Ähnliche Farben
Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).
- taupe-300#D8D2D0
- neutral-300#D4D4D4
- lightgray#D3D3D3
- zinc-300#D4D4D8
- mist-300#D0D6D8
- mauve-300#D7D0D7
- v3 gray-300#D1D5DB
- olive-300#D8D8D0
Heller und dunkler, gleicher Farbton und gleiche Chroma
- #EAE7E5 · oklch(0.929 0.004 56.4) · ΔL +0.06
- #C3C0BE · oklch(0.809 0.004 56.4) · ΔL −0.06