HEX to HSL: #6EE7B7

Also known as: Tailwind v3 emerald-300

Result

#6EE7B7 → hsl(156 72% 67%)

Values are shown at full precision, so converting back gives exactly #6ee7b7. 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.4314
    G = 0.9059
    B = 0.7176
  2. 2. max, min, Δ

    max = 0.9059
    min = 0.4314
    Δ = max − min = 0.4745
  3. 3. L

    L = (max + min) / 2 = 0.6686 = 66.86%
  4. 4. S

    S = Δ / (1 − |2L − 1|) = 0.7160 = 71.60%
  5. 5. H

    max is G → H = 60° × ((B − R) / Δ + 2) = 60° × ((0.7176 − 0.4314) / 0.4745 + 2) = 156.20°
  6. 6. HSL

    hsl(156.20 71.60% 66.86%)

All formats

HEX
#6ee7b7
RGB
rgb(110 231 183)
RGB (legacy)
rgb(110, 231, 183)
HSL
hsl(156.20 71.60% 66.86%) → hsl(156 72% 67%)
HWB
hwb(156 43% 9%)
OKLCH
oklch(0.845 0.130 165.0) · oklch(84.5% 0.130 165.0)
OKLab
oklab(0.845 -0.126 0.034)
Lab (D50)
lab(83.77 -44.09 12.60)
LCH (D50)
lch(83.77 45.85 164.06)
Display P3
color(display-p3 0.5565 0.8951 0.7298)
Linear sRGB
color(srgb-linear 0.1559 0.7991 0.4735)

Gamut: sRGB and Display P3

#6EE7B7 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.178 and Display P3 reaches 0.244; this color uses 73% of the sRGB chroma available.

CSS snippets

.element {
  color: #6ee7b7;
  color: rgb(110 231 183);
  color: hsl(156 72% 67%);
  color: oklch(0.845 0.130 165.0);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.845 0.130 165.0);
}
/* arbitrary values */
class="text-[#6ee7b7] bg-[oklch(0.845_0.130_165.0)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.5565 0.8951 0.7298); }
}

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

  • #83FBCA · oklch(0.905 0.130 165.0) · ΔL +0.06
  • #59D3A4 · oklch(0.785 0.130 165.0) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?