#2C7A71#2C7A71

#2C7A71 is a mid, moderate teal. Relative luminance 0.156; OKLCH L 52.9% C 0.077 H 184.6°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#2C7A71
RGBrgb(44, 122, 113)
HSLhsl(173, 47%, 33%)
HSVhsv(173, 64%, 48%)
CMYKcmyk(63.9%, 0%, 7.4%, 52.2%)
CIE-LABlab(46.51, -25.93, -2.12)
CIE-LCHlch(46.51, 26.01, 184.68°)
OKLaboklab(52.93% -0.0766 -0.0061)
OKLCHoklch(52.93% 0.077 184.6)
XYZxyz(10.9775, 15.6456, 18.0610)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7A71 #7A2C35
analogous
#2C7A4A #2C7A71 #2C5C7A
triadic
#2C7A71 #712C7A #7A712C
tetradic
#2C7A71 #4A2C7A #7A2C35 #5C7A2C
square
#2C7A71 #4A2C7A #7A2C35 #5C7A2C
split-complementary
#2C7A71 #7A2C5C #7A4A2C
monochromatic
#0C201E #1C4D47 #2C7A71 #3CA79B #5CC4B8

Accessibility & contrast

On white

5.09
#2C7A71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#2C7A71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7A71
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7A71#FFFFFF#000000##FFFFFF
##2C7A711.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#747371
Deuteranopia (green-blind)
#686B72
Tritanopia (blue-blind)
#007D77
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2c7a71;
/* rgb */ color: rgb(44, 122, 113);
/* oklch */ color: oklch(52.9% 0.077 184.6);
Tailwind
colors: {
  custom: {
    50: '#6fa199',
    500: '#2c7a71',
    950: '#000000',
  },
}
SCSS
$custom: #2c7a71;
$custom-light: #6fa199;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7a71",
  "rgb": {
    "r": 44,
    "g": 122,
    "b": 113
  },
  "hsl": {
    "h": 173.077,
    "s": 46.988,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52933,
    "c": 0.0768,
    "h": 184.6
  },
  "luminance": 0.15647
}

Semantic roles & 50–950 ramp

primary
#2C7A71
secondary
#AA5761
accent
#5161D7
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080F0E
muted
#7B7E7E

Preview Lab

Preview with #2C7A71

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

Preview Lab → · Contrast checker → · Palette generator →

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