#2F796E#2F796E

#2F796E is a mid, moderate teal. Relative luminance 0.154; OKLCH L 52.7% C 0.075 H 182.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#2F796E
RGBrgb(47, 121, 110)
HSLhsl(171, 44%, 33%)
HSVhsv(171, 61%, 47%)
CMYKcmyk(61.2%, 0%, 9.1%, 52.5%)
CIE-LABlab(46.18, -25.68, -0.80)
CIE-LCHlch(46.18, 25.69, 181.79°)
OKLaboklab(52.67% -0.0751 -0.0026)
OKLCHoklch(52.67% 0.075 182)
XYZxyz(10.8229, 15.4038, 17.1517)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F796E #792F3A
analogous
#2F7949 #2F796E #2F5F79
triadic
#2F796E #6E2F79 #796E2F
tetradic
#2F796E #492F79 #792F3A #5F792F
square
#2F796E #492F79 #792F3A #5F792F
split-complementary
#2F796E #792F5F #79492F
monochromatic
#0D211E #1E4D46 #2F796E #40A596 #61C2B3

Accessibility & contrast

On white

5.15
#2F796E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#2F796E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F796E
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F796E#FFFFFF#000000##FFFFFF
##2F796E1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74726E
Deuteranopia (green-blind)
#686A6F
Tritanopia (blue-blind)
#007B76
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f796e;
/* rgb */ color: rgb(47, 121, 110);
/* oklch */ color: oklch(52.7% 0.075 182.0);
Tailwind
colors: {
  custom: {
    50: '#70a097',
    500: '#2f796e',
    950: '#000000',
  },
}
SCSS
$custom: #2f796e;
$custom-light: #70a097;
$custom-dark: #000000;
JSON
{
  "hex": "#2f796e",
  "rgb": {
    "r": 47,
    "g": 121,
    "b": 110
  },
  "hsl": {
    "h": 171.081,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52667,
    "c": 0.07511,
    "h": 182
  },
  "luminance": 0.15405
}

Semantic roles & 50–950 ramp

primary
#2F796E
secondary
#A85B67
accent
#5467D4
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0D
muted
#7B7E7E

Preview Lab

Preview with #2F796E

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

Preview Lab → · Contrast checker → · Palette generator →

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