HEX in OKLCH: #BBF451

Auch bekannt als: Tailwind lime-300

Ergebnis

#BBF451 → oklch(0.898 0.197 126.7)

Die Werte stehen in voller Genauigkeit, die Rückrechnung ergibt exakt #bbf451. 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: 187/255 = 0.73333 → 0.496933  (((x + 0.055) / 1.055)^2.4)
    G: 244/255 = 0.95686 → 0.904661  (((x + 0.055) / 1.055)^2.4)
    B: 81/255 = 0.31765 → 0.082283  (((x + 0.055) / 1.055)^2.4)
  2. 2. linear sRGB → LMS

    l = 0.4122·R + 0.5363·G + 0.0514·B = 0.694279
    m = 0.2119·R + 0.6807·G + 0.1074·B = 0.729941
    s = 0.0883·R + 0.2817·G + 0.6300·B = 0.350577
  3. 3. cube root

    l′ = ∛0.694279 = 0.885478
    m′ = ∛0.729941 = 0.900387
    s′ = ∛0.350577 = 0.705117
  4. 4. LMS′ → Oklab

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

    C = √(a² + b²) = 0.19651
    H = atan2(b, a) = 126.715°
    L = 0.89804
  6. 6. OKLCH

    oklch(0.89804 0.19651 126.715)
    rounded: oklch(0.898 0.197 126.7)

Alle Formate

HEX
#bbf451
RGB
rgb(187 244 81)
RGB (legacy)
rgb(187, 244, 81)
HSL
hsl(80.98 88.11% 63.73%) → hsl(81 88% 64%)
HWB
hwb(81 32% 4%)
OKLCH
oklch(0.898 0.197 126.7) · oklch(89.8% 0.197 126.7)
OKLab
oklab(0.898 -0.117 0.158)
Lab (D50)
lab(90.05 -35.80 68.67)
LCH (D50)
lch(90.05 77.44 117.53)
Display P3
color(display-p3 0.7793 0.9505 0.4221)
Linear sRGB
color(srgb-linear 0.4969 0.9047 0.0823)

Gamut: sRGB und Display P3

#BBF451 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.231, Display P3 von 0.270; diese Farbe nutzt 85 % der verfügbaren sRGB-Chroma.

CSS-Snippets

.element {
  color: #bbf451;
  color: rgb(187 244 81);
  color: hsl(81 88% 64%);
  color: oklch(0.898 0.197 126.7);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.898 0.197 126.7);
}
/* arbitrary values */
class="text-[#bbf451] bg-[oklch(0.898_0.197_126.7)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.7793 0.9505 0.4221); }
}

/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #bbf451 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

  • #CEFF68 · oklch(0.958 0.197 126.7) · ΔL +0.06
  • #A8E037 · oklch(0.838 0.197 126.7) · ΔL −0.06

Im Studio öffnen

Weitere Umrechner für diese Farbe

Alle Umrechner →