HEX to RGB: #7FFFD4

Also known as: CSS aquamarine

Result

#7FFFD4 → rgb(127 255 212)

Values are shown at full precision, so converting back gives exactly #7fffd4. 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. HEX → pairs

    #7FFFD4 → 7F | FF | D4
  2. 2. base 16 → base 10

    R = 7F₁₆ = 7×16 + 15 = 127
    G = FF₁₆ = 15×16 + 15 = 255
    B = D4₁₆ = 13×16 + 4 = 212
  3. 3. RGB

    rgb(127 255 212)

All formats

HEX
#7fffd4
RGB
rgb(127 255 212)
RGB (legacy)
rgb(127, 255, 212)
HSL
hsl(159.84 100.00% 74.90%) → hsl(160 100% 75%)
HWB
hwb(160 50% 0%)
OKLCH
oklch(0.915 0.130 169.0) · oklch(91.5% 0.130 169.0)
OKLab
oklab(0.915 -0.128 0.025)
Lab (D50)
lab(91.86 -44.85 9.15)
LCH (D50)
lch(91.86 45.77 168.46)
Display P3
color(display-p3 0.6279 0.9884 0.8409)
Linear sRGB
color(srgb-linear 0.2122 1.0000 0.6584)

Gamut: sRGB and Display P3

#7FFFD4 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.130 and Display P3 reaches 0.147; this color uses 100% of the sRGB chroma available.

CSS snippets

.element {
  color: #7fffd4;
  color: rgb(127 255 212);
  color: hsl(160 100% 75%);
  color: oklch(0.915 0.130 169.0);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.915 0.130 169.0);
}
/* arbitrary values */
class="text-[#7fffd4] bg-[oklch(0.915_0.130_169.0)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.6279 0.9884 0.8409); }
}

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

  • #94FFE8 · oklch(0.975 0.130 169.0) · ΔL +0.06
  • #6AEBC1 · oklch(0.855 0.130 169.0) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?