#2C796D#2C796D

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

Color values

HEX#2C796D
RGBrgb(44, 121, 109)
HSLhsl(171, 47%, 32%)
HSVhsv(171, 64%, 47%)
CMYKcmyk(63.6%, 0%, 9.9%, 52.5%)
CIE-LABlab(46.06, -26.56, -0.40)
CIE-LCHlch(46.06, 26.57, 180.86°)
OKLaboklab(52.53% -0.0773 -0.0015)
OKLCHoklch(52.53% 0.077 181.1)
XYZxyz(10.6351, 15.3132, 16.8603)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C796D #792C38
analogous
#2C7946 #2C796D #2C5F79
triadic
#2C796D #6D2C79 #796D2C
tetradic
#2C796D #462C79 #792C38 #5F792C
square
#2C796D #462C79 #792C38 #5F792C
split-complementary
#2C796D #792C5F #79462C
monochromatic
#0B1F1C #1C4C45 #2C796D #3CA695 #5CC4B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #2c796d;
/* rgb */ color: rgb(44, 121, 109);
/* oklch */ color: oklch(52.5% 0.077 181.1);
Tailwind
colors: {
  custom: {
    50: '#6fa096',
    500: '#2c796d',
    950: '#000000',
  },
}
SCSS
$custom: #2c796d;
$custom-light: #6fa096;
$custom-dark: #000000;
JSON
{
  "hex": "#2c796d",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 109
  },
  "hsl": {
    "h": 170.649,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52532,
    "c": 0.07736,
    "h": 181.1
  },
  "luminance": 0.15314
}

Semantic roles & 50–950 ramp

primary
#2C796D
secondary
#AA5764
accent
#5166D6
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080F0D
muted
#7B7E7E

Preview Lab

Preview with #2C796D

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

Preview Lab → · Contrast checker → · Palette generator →

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