#2F7B71#2F7B71

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

Color values

HEX#2F7B71
RGBrgb(47, 123, 113)
HSLhsl(172, 45%, 33%)
HSVhsv(172, 62%, 48%)
CMYKcmyk(61.8%, 0%, 8.1%, 51.8%)
CIE-LABlab(46.92, -25.84, -1.50)
CIE-LCHlch(46.92, 25.89, 183.31°)
OKLaboklab(53.3% -0.0759 -0.0044)
OKLCHoklch(53.3% 0.076 183.4)
XYZxyz(11.2345, 15.9614, 18.1084)
Luminance0.1596 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7B71 #7B2F39
analogous
#2F7B4B #2F7B71 #2F5F7B
triadic
#2F7B71 #712F7B #7B712F
tetradic
#2F7B71 #4B2F7B #7B2F39 #5F7B2F
square
#2F7B71 #4B2F7B #7B2F39 #5F7B2F
split-complementary
#2F7B71 #7B2F5F #7B4B2F
monochromatic
#0D2220 #1E4F48 #2F7B71 #40A79A #62C3B6

Accessibility & contrast

On white

5.01
#2F7B71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#2F7B71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7B71
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7B71#FFFFFF#000000##FFFFFF
##2F7B711.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#757471
Deuteranopia (green-blind)
#6A6C72
Tritanopia (blue-blind)
#007D78
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2f7b71;
/* rgb */ color: rgb(47, 123, 113);
/* oklch */ color: oklch(53.3% 0.076 183.4);
Tailwind
colors: {
  custom: {
    50: '#71a199',
    500: '#2f7b71',
    950: '#000000',
  },
}
SCSS
$custom: #2f7b71;
$custom-light: #71a199;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7b71",
  "rgb": {
    "r": 47,
    "g": 123,
    "b": 113
  },
  "hsl": {
    "h": 172.105,
    "s": 44.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53298,
    "c": 0.07607,
    "h": 183.4
  },
  "luminance": 0.15963
}

Semantic roles & 50–950 ramp

primary
#2F7B71
secondary
#AA5C66
accent
#5364D4
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080F0E
muted
#7B7E7E

Preview Lab

Preview with #2F7B71

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

Preview Lab → · Contrast checker → · Palette generator →

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