#2C796A#2C796A

#2C796A is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.4% C 0.079 H 177.9°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#2C796A
RGBrgb(44, 121, 106)
HSLhsl(168, 47%, 32%)
HSVhsv(168, 64%, 47%)
CMYKcmyk(63.6%, 0%, 12.4%, 52.5%)
CIE-LABlab(45.97, -27.40, 1.26)
CIE-LCHlch(45.97, 27.43, 177.37°)
OKLaboklab(52.43% -0.0788 0.0029)
OKLCHoklch(52.43% 0.079 177.9)
XYZxyz(10.4764, 15.2497, 16.0243)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C796A #792C3B
analogous
#2C7944 #2C796A #2C6179
triadic
#2C796A #6A2C79 #796A2C
tetradic
#2C796A #442C79 #792C3B #61792C
square
#2C796A #442C79 #792C3B #61792C
split-complementary
#2C796A #792C61 #79442C
monochromatic
#0B1F1B #1C4C43 #2C796A #3CA691 #5CC4AF

Accessibility & contrast

On white

5.18
#2C796A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#2C796A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C796A
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C796A#FFFFFF#000000##FFFFFF
##2C796A1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c796a;
/* rgb */ color: rgb(44, 121, 106);
/* oklch */ color: oklch(52.4% 0.079 177.9);
Tailwind
colors: {
  custom: {
    50: '#6ea094',
    500: '#2c796a',
    950: '#000000',
  },
}
SCSS
$custom: #2c796a;
$custom-light: #6ea094;
$custom-dark: #000000;
JSON
{
  "hex": "#2c796a",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 106
  },
  "hsl": {
    "h": 168.312,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52433,
    "c": 0.07889,
    "h": 177.9
  },
  "luminance": 0.15251
}

Semantic roles & 50–950 ramp

primary
#2C796A
secondary
#AA5767
accent
#516BD6
background
#F7F9F9
surface
#EDF2F1
border
#C8CCCB
text
#080F0D
muted
#7B7E7E

Preview Lab

Preview with #2C796A

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

Preview Lab → · Contrast checker → · Palette generator →

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