#2C7962#2C7962

#2C7962 is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.2% C 0.084 H 170.0°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#2C7962
RGBrgb(44, 121, 98)
HSLhsl(162, 47%, 32%)
HSVhsv(162, 64%, 47%)
CMYKcmyk(63.6%, 0%, 19%, 52.5%)
CIE-LABlab(45.76, -29.53, 5.69)
CIE-LCHlch(45.76, 30.08, 169.09°)
OKLaboklab(52.19% -0.0828 0.0145)
OKLCHoklch(52.19% 0.084 170)
XYZxyz(10.0796, 15.0910, 13.9346)
Luminance0.1509 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7962 #792C43
analogous
#2C793C #2C7962 #2C6A79
triadic
#2C7962 #622C79 #79622C
tetradic
#2C7962 #3C2C79 #792C43 #6A792C
square
#2C7962 #3C2C79 #792C43 #6A792C
split-complementary
#2C7962 #792C6A #793C2C
monochromatic
#0B1F19 #1C4C3E #2C7962 #3CA686 #5CC4A5

Accessibility & contrast

On white

5.23
#2C7962 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#2C7962 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7962
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7962#FFFFFF#000000##FFFFFF
##2C79621.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#767161
Deuteranopia (green-blind)
#6B6964
Tritanopia (blue-blind)
#007A72
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2c7962;
/* rgb */ color: rgb(44, 121, 98);
/* oklch */ color: oklch(52.2% 0.084 170.0);
Tailwind
colors: {
  custom: {
    50: '#6ea08e',
    500: '#2c7962',
    950: '#000000',
  },
}
SCSS
$custom: #2c7962;
$custom-light: #6ea08e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7962",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 98
  },
  "hsl": {
    "h": 162.078,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52186,
    "c": 0.08412,
    "h": 170
  },
  "luminance": 0.15092
}

Semantic roles & 50–950 ramp

primary
#2C7962
secondary
#AA5770
accent
#5179D6
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#080F0C
muted
#7B7E7D

Preview Lab

Preview with #2C7962

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

Preview Lab → · Contrast checker → · Palette generator →

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