#2F7D71#2F7D71

#2F7D71 is a mid, moderate teal. Relative luminance 0.165; OKLCH L 53.8% C 0.078 H 181.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#2F7D71
RGBrgb(47, 125, 113)
HSLhsl(171, 45%, 34%)
HSVhsv(171, 62%, 49%)
CMYKcmyk(62.4%, 0%, 9.6%, 51%)
CIE-LABlab(47.58, -26.84, -0.54)
CIE-LCHlch(47.58, 26.85, 181.16°)
OKLaboklab(53.83% -0.0783 -0.0019)
OKLCHoklch(53.83% 0.078 181.4)
XYZxyz(11.4852, 16.4626, 18.1919)
Luminance0.1646 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7D71 #7D2F3B
analogous
#2F7D4A #2F7D71 #2F627D
triadic
#2F7D71 #712F7D #7D712F
tetradic
#2F7D71 #4A2F7D #7D2F3B #627D2F
square
#2F7D71 #4A2F7D #7D2F3B #627D2F
split-complementary
#2F7D71 #7D2F62 #7D4A2F
monochromatic
#0E2421 #1E5149 #2F7D71 #40A999 #62C4B5

Accessibility & contrast

On white

4.89
#2F7D71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#2F7D71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7D71
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7D71#FFFFFF#000000##FFFFFF
##2F7D711.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#787671
Deuteranopia (green-blind)
#6C6D72
Tritanopia (blue-blind)
#007F79
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f7d71;
/* rgb */ color: rgb(47, 125, 113);
/* oklch */ color: oklch(53.8% 0.078 181.4);
Tailwind
colors: {
  custom: {
    50: '#71a399',
    500: '#2f7d71',
    950: '#000000',
  },
}
SCSS
$custom: #2f7d71;
$custom-light: #71a399;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7d71",
  "rgb": {
    "r": 47,
    "g": 125,
    "b": 113
  },
  "hsl": {
    "h": 170.769,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53827,
    "c": 0.07828,
    "h": 181.4
  },
  "luminance": 0.16464
}

Semantic roles & 50–950 ramp

primary
#2F7D71
secondary
#AB5D69
accent
#5367D5
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #2F7D71

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

Preview Lab → · Contrast checker → · Palette generator →

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