#2F796A#2F796A

#2F796A is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.5% C 0.077 H 177.5°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#2F796A
RGBrgb(47, 121, 106)
HSLhsl(168, 44%, 33%)
HSVhsv(168, 61%, 47%)
CMYKcmyk(61.2%, 0%, 12.4%, 52.5%)
CIE-LABlab(46.07, -26.78, 1.41)
CIE-LCHlch(46.07, 26.82, 177.00°)
OKLaboklab(52.54% -0.077 0.0033)
OKLCHoklch(52.54% 0.077 177.5)
XYZxyz(10.6100, 15.3186, 16.0305)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F796A #792F3E
analogous
#2F7945 #2F796A #2F6379
triadic
#2F796A #6A2F79 #796A2F
tetradic
#2F796A #452F79 #792F3E #63792F
square
#2F796A #452F79 #792F3E #63792F
split-complementary
#2F796A #792F63 #79452F
monochromatic
#0D211D #1E4D43 #2F796A #40A591 #61C2AE

Accessibility & contrast

On white

5.17
#2F796A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#2F796A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F796A
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F796A#FFFFFF#000000##FFFFFF
##2F796A1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#747269
Deuteranopia (green-blind)
#696A6B
Tritanopia (blue-blind)
#007B74
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f796a;
/* rgb */ color: rgb(47, 121, 106);
/* oklch */ color: oklch(52.5% 0.077 177.5);
Tailwind
colors: {
  custom: {
    50: '#70a094',
    500: '#2f796a',
    950: '#000000',
  },
}
SCSS
$custom: #2f796a;
$custom-light: #70a094;
$custom-dark: #000000;
JSON
{
  "hex": "#2f796a",
  "rgb": {
    "r": 47,
    "g": 121,
    "b": 106
  },
  "hsl": {
    "h": 167.838,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52535,
    "c": 0.07711,
    "h": 177.5
  },
  "luminance": 0.1532
}

Semantic roles & 50–950 ramp

primary
#2F796A
secondary
#A85B6B
accent
#546ED4
background
#F7F9F9
surface
#EDF2F1
border
#C8CCCB
text
#080F0D
muted
#7B7E7E

Preview Lab

Preview with #2F796A

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

Preview Lab → · Contrast checker → · Palette generator →

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