#2F7E72#2F7E72

#2F7E72 is a mid, moderate teal. Relative luminance 0.167; OKLCH L 54.1% C 0.079 H 181.5°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#2F7E72
RGBrgb(47, 126, 114)
HSLhsl(171, 46%, 34%)
HSVhsv(171, 63%, 49%)
CMYKcmyk(62.7%, 0%, 9.5%, 50.6%)
CIE-LABlab(47.93, -27.06, -0.61)
CIE-LCHlch(47.93, 27.06, 181.30°)
OKLaboklab(54.13% -0.0789 -0.0021)
OKLCHoklch(54.13% 0.079 181.5)
XYZxyz(11.6690, 16.7397, 18.5325)
Luminance0.1674 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7E72 #7E2F3B
analogous
#2F7E4B #2F7E72 #2F637E
triadic
#2F7E72 #722F7E #7E722F
tetradic
#2F7E72 #4B2F7E #7E2F3B #637E2F
square
#2F7E72 #4B2F7E #7E2F3B #637E2F
split-complementary
#2F7E72 #7E2F63 #7E4B2F
monochromatic
#0E2521 #1E514A #2F7E72 #40AB9A #63C5B6

Accessibility & contrast

On white

4.83
#2F7E72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F7E72
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7E72#FFFFFF#000000##FFFFFF
##2F7E721.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#787772
Deuteranopia (green-blind)
#6D6E73
Tritanopia (blue-blind)
#00807A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f7e72;
/* rgb */ color: rgb(47, 126, 114);
/* oklch */ color: oklch(54.1% 0.079 181.5);
Tailwind
colors: {
  custom: {
    50: '#71a49a',
    500: '#2f7e72',
    950: '#000000',
  },
}
SCSS
$custom: #2f7e72;
$custom-light: #71a49a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7e72",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 114
  },
  "hsl": {
    "h": 170.886,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54125,
    "c": 0.07895,
    "h": 181.5
  },
  "luminance": 0.16741
}

Semantic roles & 50–950 ramp

primary
#2F7E72
secondary
#AC5D69
accent
#5266D5
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #2F7E72

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

Preview Lab → · Contrast checker → · Palette generator →

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