HEX to HSL: #BBF7D0

Also known as: Tailwind v3 green-200

Result

#BBF7D0 → hsl(141 79% 85%)

Values are shown at full precision, so converting back gives exactly #bbf7d0. The rounded form is what you normally paste into CSS.

Step-by-step math

Every number below is computed from the input, nothing is looked up.

  1. 1. RGB ÷ 255

    R = 0.7333
    G = 0.9686
    B = 0.8157
  2. 2. max, min, Δ

    max = 0.9686
    min = 0.7333
    Δ = max − min = 0.2353
  3. 3. L

    L = (max + min) / 2 = 0.8510 = 85.10%
  4. 4. S

    S = Δ / (1 − |2L − 1|) = 0.7895 = 78.95%
  5. 5. H

    max is G → H = 60° × ((B − R) / Δ + 2) = 60° × ((0.8157 − 0.7333) / 0.2353 + 2) = 141.00°
  6. 6. HSL

    hsl(141.00 78.95% 85.10%)

All formats

HEX
#bbf7d0
RGB
rgb(187 247 208)
RGB (legacy)
rgb(187, 247, 208)
HSL
hsl(141.00 78.95% 85.10%) → hsl(141 79% 85%)
HWB
hwb(141 73% 3%)
OKLCH
oklch(0.925 0.081 156.0) · oklch(92.5% 0.081 156.0)
OKLab
oklab(0.925 -0.074 0.033)
Lab (D50)
lab(92.38 -25.37 12.40)
LCH (D50)
lch(92.38 28.24 153.94)
Display P3
color(display-p3 0.7820 0.9620 0.8267)
Linear sRGB
color(srgb-linear 0.4969 0.9301 0.6308)

Gamut: sRGB and Display P3

#BBF7D0 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.122 and Display P3 reaches 0.137; this color uses 66% of the sRGB chroma available.

CSS snippets

.element {
  color: #bbf7d0;
  color: rgb(187 247 208);
  color: hsl(141 79% 85%);
  color: oklch(0.925 0.081 156.0);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.925 0.081 156.0);
}
/* arbitrary values */
class="text-[#bbf7d0] bg-[oklch(0.925_0.081_156.0)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.7820 0.9620 0.8267); }
}

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

Nearby colors

Closest colors in the Tailwind and CSS named palettes (OKLab distance).

Lighter and darker, same hue and chroma

  • #CFFFE4 · oklch(0.985 0.081 156.0) · ΔL +0.06
  • #A8E3BD · oklch(0.865 0.081 156.0) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?