#2F7E73#2F7E73

#2F7E73 is a mid, moderate teal. Relative luminance 0.168; OKLCH L 54.2% C 0.079 H 182.6°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#2F7E73
RGBrgb(47, 126, 115)
HSLhsl(172, 46%, 34%)
HSVhsv(172, 63%, 49%)
CMYKcmyk(62.7%, 0%, 8.7%, 50.6%)
CIE-LABlab(47.96, -26.78, -1.16)
CIE-LCHlch(47.96, 26.80, 182.48°)
OKLaboklab(54.16% -0.0784 -0.0036)
OKLCHoklch(54.16% 0.079 182.6)
XYZxyz(11.7262, 16.7626, 18.8339)
Luminance0.1676 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7E73 #7E2F3A
analogous
#2F7E4C #2F7E73 #2F627E
triadic
#2F7E73 #732F7E #7E732F
tetradic
#2F7E73 #4C2F7E #7E2F3A #627E2F
square
#2F7E73 #4C2F7E #7E2F3A #627E2F
split-complementary
#2F7E73 #7E2F62 #7E4C2F
monochromatic
#0E2522 #1E514A #2F7E73 #40AB9C #63C5B7

Accessibility & contrast

On white

4.82
#2F7E73 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#2F7E73 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7E73
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7E73#FFFFFF#000000##FFFFFF
##2F7E731.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#787773
Deuteranopia (green-blind)
#6C6E74
Tritanopia (blue-blind)
#00807B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f7e73;
/* rgb */ color: rgb(47, 126, 115);
/* oklch */ color: oklch(54.2% 0.079 182.6);
Tailwind
colors: {
  custom: {
    50: '#71a49b',
    500: '#2f7e73',
    950: '#000000',
  },
}
SCSS
$custom: #2f7e73;
$custom-light: #71a49b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7e73",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 115
  },
  "hsl": {
    "h": 171.646,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54158,
    "c": 0.07852,
    "h": 182.6
  },
  "luminance": 0.16764
}

Semantic roles & 50–950 ramp

primary
#2F7E73
secondary
#AC5D68
accent
#5265D5
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #2F7E73

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2F7E73 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva