#2C796C#2C796C

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

Color values

HEX#2C796C
RGBrgb(44, 121, 108)
HSLhsl(170, 47%, 32%)
HSVhsv(170, 64%, 47%)
CMYKcmyk(63.6%, 0%, 10.7%, 52.5%)
CIE-LABlab(46.03, -26.84, 0.15)
CIE-LCHlch(46.03, 26.84, 179.67°)
OKLaboklab(52.5% -0.0778 0)
OKLCHoklch(52.5% 0.078 180)
XYZxyz(10.5816, 15.2918, 16.5784)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C796C #792C39
analogous
#2C7945 #2C796C #2C6079
triadic
#2C796C #6C2C79 #796C2C
tetradic
#2C796C #452C79 #792C39 #60792C
square
#2C796C #452C79 #792C39 #60792C
split-complementary
#2C796C #792C60 #79452C
monochromatic
#0B1F1C #1C4C44 #2C796C #3CA694 #5CC4B2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #2c796c;
/* rgb */ color: rgb(44, 121, 108);
/* oklch */ color: oklch(52.5% 0.078 180.0);
Tailwind
colors: {
  custom: {
    50: '#6fa096',
    500: '#2c796c',
    950: '#000000',
  },
}
SCSS
$custom: #2c796c;
$custom-light: #6fa096;
$custom-dark: #000000;
JSON
{
  "hex": "#2c796c",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 108
  },
  "hsl": {
    "h": 169.87,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52498,
    "c": 0.07785,
    "h": 180
  },
  "luminance": 0.15293
}

Semantic roles & 50–950 ramp

primary
#2C796C
secondary
#AA5765
accent
#5168D6
background
#F7F9F9
surface
#EDF2F1
border
#C8CCCB
text
#080F0D
muted
#7B7E7E

Preview Lab

Preview with #2C796C

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

Preview Lab → · Contrast checker → · Palette generator →

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