#2F796D#2F796D

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

Color values

HEX#2F796D
RGBrgb(47, 121, 109)
HSLhsl(170, 44%, 33%)
HSVhsv(170, 61%, 47%)
CMYKcmyk(61.2%, 0%, 9.9%, 52.5%)
CIE-LABlab(46.15, -25.96, -0.25)
CIE-LCHlch(46.15, 25.96, 180.55°)
OKLaboklab(52.63% -0.0756 -0.0011)
OKLCHoklch(52.63% 0.076 180.8)
XYZxyz(10.7687, 15.3821, 16.8666)
Luminance0.1538 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F796D #792F3B
analogous
#2F7948 #2F796D #2F6079
triadic
#2F796D #6D2F79 #796D2F
tetradic
#2F796D #482F79 #792F3B #60792F
square
#2F796D #482F79 #792F3B #60792F
split-complementary
#2F796D #792F60 #79482F
monochromatic
#0D211E #1E4D45 #2F796D #40A595 #61C2B2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F796D#FFFFFF#000000##FFFFFF
##2F796D1.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)
#74726D
Deuteranopia (green-blind)
#696A6E
Tritanopia (blue-blind)
#007B75
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f796d;
/* rgb */ color: rgb(47, 121, 109);
/* oklch */ color: oklch(52.6% 0.076 180.8);
Tailwind
colors: {
  custom: {
    50: '#70a096',
    500: '#2f796d',
    950: '#000000',
  },
}
SCSS
$custom: #2f796d;
$custom-light: #70a096;
$custom-dark: #000000;
JSON
{
  "hex": "#2f796d",
  "rgb": {
    "r": 47,
    "g": 121,
    "b": 109
  },
  "hsl": {
    "h": 170.27,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.52633,
    "c": 0.07557,
    "h": 180.8
  },
  "luminance": 0.15383
}

Semantic roles & 50–950 ramp

primary
#2F796D
secondary
#A85B68
accent
#5469D4
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0D
muted
#7B7E7E

Preview Lab

Preview with #2F796D

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

Preview Lab → · Contrast checker → · Palette generator →

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