#2C7960#2C7960

#2C7960 is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.1% C 0.086 H 168.3°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#2C7960
RGBrgb(44, 121, 96)
HSLhsl(161, 47%, 32%)
HSVhsv(161, 64%, 47%)
CMYKcmyk(63.6%, 0%, 20.7%, 52.5%)
CIE-LABlab(45.71, -30.05, 6.80)
CIE-LCHlch(45.71, 30.81, 167.24°)
OKLaboklab(52.13% -0.0839 0.0174)
OKLCHoklch(52.13% 0.086 168.3)
XYZxyz(9.9864, 15.0537, 13.4434)
Luminance0.1505 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7960 #792C45
analogous
#2C7939 #2C7960 #2C6C79
triadic
#2C7960 #602C79 #79602C
tetradic
#2C7960 #392C79 #792C45 #6C792C
square
#2C7960 #392C79 #792C45 #6C792C
split-complementary
#2C7960 #792C6C #79392C
monochromatic
#0B1F19 #1C4C3C #2C7960 #3CA684 #5CC4A2

Accessibility & contrast

On white

5.24
#2C7960 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#2C7960 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7960
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7960#FFFFFF#000000##FFFFFF
##2C79601.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76715F
Deuteranopia (green-blind)
#6B6962
Tritanopia (blue-blind)
#007A72
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2c7960;
/* rgb */ color: rgb(44, 121, 96);
/* oklch */ color: oklch(52.1% 0.086 168.3);
Tailwind
colors: {
  custom: {
    50: '#6ea08d',
    500: '#2c7960',
    950: '#000000',
  },
}
SCSS
$custom: #2c7960;
$custom-light: #6ea08d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7960",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 96
  },
  "hsl": {
    "h": 160.519,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52128,
    "c": 0.08565,
    "h": 168.3
  },
  "luminance": 0.15055
}

Semantic roles & 50–950 ramp

primary
#2C7960
secondary
#AA5772
accent
#517DD6
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#080F0C
muted
#7B7E7D

Preview Lab

Preview with #2C7960

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

Preview Lab → · Contrast checker → · Palette generator →

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