#2F7B72#2F7B72

#2F7B72 is a mid, moderate teal. Relative luminance 0.160; OKLCH L 53.3% C 0.076 H 184.5°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#2F7B72
RGBrgb(47, 123, 114)
HSLhsl(173, 45%, 33%)
HSVhsv(173, 62%, 48%)
CMYKcmyk(61.8%, 0%, 7.3%, 51.8%)
CIE-LABlab(46.95, -25.56, -2.05)
CIE-LCHlch(46.95, 25.64, 184.58°)
OKLaboklab(53.33% -0.0755 -0.0059)
OKLCHoklch(53.33% 0.076 184.5)
XYZxyz(11.2911, 15.9840, 18.4065)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7B72 #7B2F38
analogous
#2F7B4C #2F7B72 #2F5E7B
triadic
#2F7B72 #722F7B #7B722F
tetradic
#2F7B72 #4C2F7B #7B2F38 #5E7B2F
square
#2F7B72 #4C2F7B #7B2F38 #5E7B2F
split-complementary
#2F7B72 #7B2F5E #7B4C2F
monochromatic
#0D2220 #1E4F49 #2F7B72 #40A79B #62C3B7

Accessibility & contrast

On white

5.00
#2F7B72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#2F7B72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7B72
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7B72#FFFFFF#000000##FFFFFF
##2F7B721.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#757472
Deuteranopia (green-blind)
#696C73
Tritanopia (blue-blind)
#007E78
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2f7b72;
/* rgb */ color: rgb(47, 123, 114);
/* oklch */ color: oklch(53.3% 0.076 184.5);
Tailwind
colors: {
  custom: {
    50: '#71a19a',
    500: '#2f7b72',
    950: '#000000',
  },
}
SCSS
$custom: #2f7b72;
$custom-light: #71a19a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7b72",
  "rgb": {
    "r": 47,
    "g": 123,
    "b": 114
  },
  "hsl": {
    "h": 172.895,
    "s": 44.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53332,
    "c": 0.07569,
    "h": 184.5
  },
  "luminance": 0.15985
}

Semantic roles & 50–950 ramp

primary
#2F7B72
secondary
#AA5C65
accent
#5363D4
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080F0E
muted
#7B7E7E

Preview Lab

Preview with #2F7B72

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

Preview Lab → · Contrast checker → · Palette generator →

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