RGB to HEX: #5EEAD4

Also known as: Tailwind v3 teal-300

Result

rgb(94 234 212) → #5EEAD4

Values are shown at full precision, so converting back gives exactly #5eead4. 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. base 10 → base 16

    R = 94 = 5×16 + 14 → 5E
    G = 234 = 14×16 + 10 → EA
    B = 212 = 13×16 + 4 → D4
  2. 2. pairs → HEX

    5E EA D4 → #5EEAD4

All formats

HEX
#5eead4
RGB
rgb(94 234 212)
RGB (legacy)
rgb(94, 234, 212)
HSL
hsl(170.57 76.92% 64.31%) → hsl(171 77% 64%)
HWB
hwb(171 37% 8%)
OKLCH
oklch(0.855 0.125 181.1) · oklch(85.5% 0.125 181.1)
OKLab
oklab(0.855 -0.125 -0.002)
Lab (D50)
lab(84.72 -43.50 -1.22)
LCH (D50)
lch(84.72 43.52 181.60)
Display P3
color(display-p3 0.5252 0.9059 0.8328)
Linear sRGB
color(srgb-linear 0.1119 0.8228 0.6584)

Gamut: sRGB and Display P3

#5EEAD4 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.154 and Display P3 reaches 0.209; this color uses 81% of the sRGB chroma available.

CSS snippets

.element {
  color: #5eead4;
  color: rgb(94 234 212);
  color: hsl(171 77% 64%);
  color: oklch(0.855 0.125 181.1);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.855 0.125 181.1);
}
/* arbitrary values */
class="text-[#5eead4] bg-[oklch(0.855_0.125_181.1)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.5252 0.9059 0.8328); }
}

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

  • #75FEE8 · oklch(0.915 0.125 181.1) · ΔL +0.06
  • #46D6C1 · oklch(0.795 0.125 181.1) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?