#2F7971#2F7971

#2F7971 is a mid, moderate teal. Relative luminance 0.155; OKLCH L 52.8% C 0.074 H 185.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#2F7971
RGBrgb(47, 121, 113)
HSLhsl(174, 44%, 33%)
HSVhsv(174, 61%, 47%)
CMYKcmyk(61.2%, 0%, 6.6%, 52.5%)
CIE-LABlab(46.27, -24.83, -2.45)
CIE-LCHlch(46.27, 24.95, 185.65°)
OKLaboklab(52.77% -0.0736 -0.007)
OKLCHoklch(52.77% 0.074 185.4)
XYZxyz(10.9890, 15.4702, 18.0265)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7971 #792F37
analogous
#2F794C #2F7971 #2F5C79
triadic
#2F7971 #712F79 #79712F
tetradic
#2F7971 #4C2F79 #792F37 #5C792F
square
#2F7971 #4C2F79 #792F37 #5C792F
split-complementary
#2F7971 #792F5C #794C2F
monochromatic
#0D211F #1E4D48 #2F7971 #40A59A #61C2B7

Accessibility & contrast

On white

5.13
#2F7971 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#2F7971 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7971
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7971#FFFFFF#000000##FFFFFF
##2F79711.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#737371
Deuteranopia (green-blind)
#686A72
Tritanopia (blue-blind)
#007C76
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2f7971;
/* rgb */ color: rgb(47, 121, 113);
/* oklch */ color: oklch(52.8% 0.074 185.4);
Tailwind
colors: {
  custom: {
    50: '#70a099',
    500: '#2f7971',
    950: '#000000',
  },
}
SCSS
$custom: #2f7971;
$custom-light: #70a099;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7971",
  "rgb": {
    "r": 47,
    "g": 121,
    "b": 113
  },
  "hsl": {
    "h": 173.514,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52769,
    "c": 0.07394,
    "h": 185.4
  },
  "luminance": 0.15471
}

Semantic roles & 50–950 ramp

primary
#2F7971
secondary
#A85B64
accent
#5462D4
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0E
muted
#7B7E7E

Preview Lab

Preview with #2F7971

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

Preview Lab → · Contrast checker → · Palette generator →

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