#2F7E71#2F7E71

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

Color values

HEX#2F7E71
RGBrgb(47, 126, 113)
HSLhsl(170, 46%, 34%)
HSVhsv(170, 63%, 49%)
CMYKcmyk(62.7%, 0%, 10.3%, 50.6%)
CIE-LABlab(47.90, -27.34, -0.07)
CIE-LCHlch(47.90, 27.34, 180.14°)
OKLaboklab(54.09% -0.0794 -0.0006)
OKLCHoklch(54.09% 0.079 180.5)
XYZxyz(11.6124, 16.7171, 18.2343)
Luminance0.1672 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7E71 #7E2F3C
analogous
#2F7E4A #2F7E71 #2F647E
triadic
#2F7E71 #712F7E #7E712F
tetradic
#2F7E71 #4A2F7E #7E2F3C #647E2F
square
#2F7E71 #4A2F7E #7E2F3C #647E2F
split-complementary
#2F7E71 #7E2F64 #7E4A2F
monochromatic
#0E2521 #1E5149 #2F7E71 #40AB99 #63C5B5

Accessibility & contrast

On white

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

On black

4.34
#2F7E71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2F7E71#FFFFFF#000000##FFFFFF
##2F7E711.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f7e71;
/* rgb */ color: rgb(47, 126, 113);
/* oklch */ color: oklch(54.1% 0.079 180.5);
Tailwind
colors: {
  custom: {
    50: '#71a499',
    500: '#2f7e71',
    950: '#000000',
  },
}
SCSS
$custom: #2f7e71;
$custom-light: #71a499;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7e71",
  "rgb": {
    "r": 47,
    "g": 126,
    "b": 113
  },
  "hsl": {
    "h": 170.127,
    "s": 45.665,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54092,
    "c": 0.07941,
    "h": 180.5
  },
  "luminance": 0.16718
}

Semantic roles & 50–950 ramp

primary
#2F7E71
secondary
#AC5D6A
accent
#5268D5
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #2F7E71

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

Preview Lab → · Contrast checker → · Palette generator →

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