#2C796B#2C796B

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

Color values

HEX#2C796B
RGBrgb(44, 121, 107)
HSLhsl(169, 47%, 32%)
HSVhsv(169, 64%, 47%)
CMYKcmyk(63.6%, 0%, 11.6%, 52.5%)
CIE-LABlab(46.00, -27.12, 0.71)
CIE-LCHlch(46.00, 27.13, 178.51°)
OKLaboklab(52.47% -0.0783 0.0014)
OKLCHoklch(52.47% 0.078 178.9)
XYZxyz(10.5287, 15.2707, 16.2997)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C796B #792C3A
analogous
#2C7945 #2C796B #2C6179
triadic
#2C796B #6B2C79 #796B2C
tetradic
#2C796B #452C79 #792C3A #61792C
square
#2C796B #452C79 #792C3A #61792C
split-complementary
#2C796B #792C61 #79452C
monochromatic
#0B1F1C #1C4C43 #2C796B #3CA693 #5CC4B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C796B#FFFFFF#000000##FFFFFF
##2C796B1.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)
#74726A
Deuteranopia (green-blind)
#69696C
Tritanopia (blue-blind)
#007B75
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2c796b;
/* rgb */ color: rgb(44, 121, 107);
/* oklch */ color: oklch(52.5% 0.078 178.9);
Tailwind
colors: {
  custom: {
    50: '#6fa095',
    500: '#2c796b',
    950: '#000000',
  },
}
SCSS
$custom: #2c796b;
$custom-light: #6fa095;
$custom-dark: #000000;
JSON
{
  "hex": "#2c796b",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 107
  },
  "hsl": {
    "h": 169.091,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52466,
    "c": 0.07835,
    "h": 178.9
  },
  "luminance": 0.15272
}

Semantic roles & 50–950 ramp

primary
#2C796B
secondary
#AA5766
accent
#516AD6
background
#F7F9F9
surface
#EDF2F1
border
#C8CCCB
text
#080F0D
muted
#7B7E7E

Preview Lab

Preview with #2C796B

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

Preview Lab → · Contrast checker → · Palette generator →

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