HEX in OKLCH: #D1FAE5

Auch bekannt als: Tailwind v3 emerald-100

Ergebnis

#D1FAE5 → oklch(0.950 0.051 163.1)

Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #d1fae5. 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. 1. sRGB → linear

    R: 209/255 = 0.81961 → 0.637597  (((x + 0.055) / 1.055)^2.4)
    G: 250/255 = 0.98039 → 0.955973  (((x + 0.055) / 1.055)^2.4)
    B: 229/255 = 0.89804 → 0.783538  (((x + 0.055) / 1.055)^2.4)
  2. 2. linear sRGB → LMS

    l = 0.4122·R + 0.5363·G + 0.0514·B = 0.815861
    m = 0.2119·R + 0.6807·G + 0.1074·B = 0.869989
    s = 0.0883·R + 0.2817·G + 0.6300·B = 0.819229
  3. 3. cube root

    l′ = ∛0.815861 = 0.934413
    m′ = ∛0.869989 = 0.954636
    s′ = ∛0.819229 = 0.935697
  4. 4. LMS′ → Oklab

    L = 0.2105·l′ + 0.7936·m′ − 0.0041·s′ = 0.95046
    a = 1.9780·l′ − 2.4286·m′ + 0.4506·s′ = -0.04854
    b = 0.0259·l′ + 0.7828·m′ − 0.8087·s′ = 0.01479
  5. 5. Oklab → OKLCH

    C = √(a² + b²) = 0.05074
    H = atan2(b, a) = 163.051°
    L = 0.95046
  6. 6. OKLCH

    oklch(0.95046 0.05074 163.051)
    rounded: oklch(0.950 0.051 163.1)

Alle Formate

HEX
#d1fae5
RGB
rgb(209 250 229)
RGB (legacy)
rgb(209, 250, 229)
HSL
hsl(149.27 80.39% 90.00%) → hsl(149 80% 90%)
HWB
hwb(149 82% 2%)
OKLCH
oklch(0.950 0.051 163.1) · oklch(95.0% 0.051 163.1)
OKLab
oklab(0.950 -0.049 0.015)
Lab (D50)
lab(94.94 -16.66 5.50)
LCH (D50)
lch(94.94 17.54 161.73)
Display P3
color(display-p3 0.8511 0.9756 0.9031)
Linear sRGB
color(srgb-linear 0.6376 0.9560 0.7835)

Gamut: sRGB und Display P3

#D1FAE5 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.074, Display P3 von 0.083; diese Farbe nutzt 69 % der verfügbaren sRGB-Chroma.

CSS-Snippets

.element {
  color: #d1fae5;
  color: rgb(209 250 229);
  color: hsl(149 80% 90%);
  color: oklch(0.950 0.051 163.1);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.950 0.051 163.1);
}
/* arbitrary values */
class="text-[#d1fae5] bg-[oklch(0.950_0.051_163.1)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.8511 0.9756 0.9031); }
}

/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #d1fae5 calc(l - 0.1) c h); }

Ähnliche Farben

Nächste Farben in den Paletten von Tailwind und CSS (OKLab-Abstand).

Heller und dunkler, gleicher Farbton und gleiche Chroma

  • #E1FFF5 · oklch(1.000 0.051 163.1) · ΔL +0.06
  • #BEE6D1 · oklch(0.890 0.051 163.1) · ΔL −0.06

Im Studio öffnen

Weitere Umrechner für diese Farbe

Alle Umrechner →