#2F7A71#2F7A71

#2F7A71 is a mid, moderate teal. Relative luminance 0.157; OKLCH L 53.0% C 0.075 H 184.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#2F7A71
RGBrgb(47, 122, 113)
HSLhsl(173, 44%, 33%)
HSVhsv(173, 61%, 48%)
CMYKcmyk(61.5%, 0%, 7.4%, 52.2%)
CIE-LABlab(46.60, -25.34, -1.98)
CIE-LCHlch(46.60, 25.41, 184.46°)
OKLaboklab(53.03% -0.0748 -0.0057)
OKLCHoklch(53.03% 0.075 184.4)
XYZxyz(11.1111, 15.7145, 18.0672)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7A71 #7A2F38
analogous
#2F7A4B #2F7A71 #2F5D7A
triadic
#2F7A71 #712F7A #7A712F
tetradic
#2F7A71 #4B2F7A #7A2F38 #5D7A2F
square
#2F7A71 #4B2F7A #7A2F38 #5D7A2F
split-complementary
#2F7A71 #7A2F5D #7A4B2F
monochromatic
#0D221F #1E4E48 #2F7A71 #40A69A #61C2B7

Accessibility & contrast

On white

5.07
#2F7A71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#2F7A71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7A71
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7A71#FFFFFF#000000##FFFFFF
##2F7A711.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#747371
Deuteranopia (green-blind)
#696B72
Tritanopia (blue-blind)
#007C77
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2f7a71;
/* rgb */ color: rgb(47, 122, 113);
/* oklch */ color: oklch(53.0% 0.075 184.4);
Tailwind
colors: {
  custom: {
    50: '#70a199',
    500: '#2f7a71',
    950: '#000000',
  },
}
SCSS
$custom: #2f7a71;
$custom-light: #70a199;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7a71",
  "rgb": {
    "r": 47,
    "g": 122,
    "b": 113
  },
  "hsl": {
    "h": 172.8,
    "s": 44.379,
    "l": 33.137
  },
  "oklch": {
    "l": 0.53033,
    "c": 0.075,
    "h": 184.4
  },
  "luminance": 0.15716
}

Semantic roles & 50–950 ramp

primary
#2F7A71
secondary
#A95C65
accent
#5463D4
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080F0E
muted
#7B7E7E

Preview Lab

Preview with #2F7A71

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

Preview Lab → · Contrast checker → · Palette generator →

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