#2F796F#2F796F

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

Color values

HEX#2F796F
RGBrgb(47, 121, 111)
HSLhsl(172, 44%, 33%)
HSVhsv(172, 61%, 47%)
CMYKcmyk(61.2%, 0%, 8.3%, 52.5%)
CIE-LABlab(46.21, -25.40, -1.35)
CIE-LCHlch(46.21, 25.44, 183.05°)
OKLaboklab(52.7% -0.0746 -0.0041)
OKLCHoklch(52.7% 0.075 183.1)
XYZxyz(10.8776, 15.4257, 17.4400)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F796F #792F39
analogous
#2F794A #2F796F #2F5E79
triadic
#2F796F #6F2F79 #796F2F
tetradic
#2F796F #4A2F79 #792F39 #5E792F
square
#2F796F #4A2F79 #792F39 #5E792F
split-complementary
#2F796F #792F5E #794A2F
monochromatic
#0D211E #1E4D47 #2F796F #40A597 #61C2B4

Accessibility & contrast

On white

5.14
#2F796F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F796F
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F796F#FFFFFF#000000##FFFFFF
##2F796F1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73726F
Deuteranopia (green-blind)
#686A70
Tritanopia (blue-blind)
#007B76
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f796f;
/* rgb */ color: rgb(47, 121, 111);
/* oklch */ color: oklch(52.7% 0.075 183.1);
Tailwind
colors: {
  custom: {
    50: '#70a098',
    500: '#2f796f',
    950: '#000000',
  },
}
SCSS
$custom: #2f796f;
$custom-light: #70a098;
$custom-dark: #000000;
JSON
{
  "hex": "#2f796f",
  "rgb": {
    "r": 47,
    "g": 121,
    "b": 111
  },
  "hsl": {
    "h": 171.892,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.527,
    "c": 0.07469,
    "h": 183.1
  },
  "luminance": 0.15427
}

Semantic roles & 50–950 ramp

primary
#2F796F
secondary
#A85B66
accent
#5465D4
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0D
muted
#7B7E7E

Preview Lab

Preview with #2F796F

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

Preview Lab → · Contrast checker → · Palette generator →

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