#2C796F#2C796F

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

Color values

HEX#2C796F
RGBrgb(44, 121, 111)
HSLhsl(172, 47%, 32%)
HSVhsv(172, 64%, 47%)
CMYKcmyk(63.6%, 0%, 8.3%, 52.5%)
CIE-LABlab(46.12, -26.00, -1.50)
CIE-LCHlch(46.12, 26.04, 183.30°)
OKLaboklab(52.6% -0.0764 -0.0045)
OKLCHoklch(52.6% 0.077 183.3)
XYZxyz(10.7440, 15.3568, 17.4338)
Luminance0.1536 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C796F #792C36
analogous
#2C7949 #2C796F #2C5C79
triadic
#2C796F #6F2C79 #796F2C
tetradic
#2C796F #492C79 #792C36 #5C792C
square
#2C796F #492C79 #792C36 #5C792C
split-complementary
#2C796F #792C5C #79492C
monochromatic
#0B1F1D #1C4C46 #2C796F #3CA698 #5CC4B6

Accessibility & contrast

On white

5.16
#2C796F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#2C796F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C796F
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C796F#FFFFFF#000000##FFFFFF
##2C796F1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.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: #2c796f;
/* rgb */ color: rgb(44, 121, 111);
/* oklch */ color: oklch(52.6% 0.076 183.3);
Tailwind
colors: {
  custom: {
    50: '#6fa098',
    500: '#2c796f',
    950: '#000000',
  },
}
SCSS
$custom: #2c796f;
$custom-light: #6fa098;
$custom-dark: #000000;
JSON
{
  "hex": "#2c796f",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 111
  },
  "hsl": {
    "h": 172.208,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52599,
    "c": 0.0765,
    "h": 183.3
  },
  "luminance": 0.15358
}

Semantic roles & 50–950 ramp

primary
#2C796F
secondary
#AA5762
accent
#5163D6
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0D
muted
#7B7E7E

Preview Lab

Preview with #2C796F

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

Preview Lab → · Contrast checker → · Palette generator →

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