#2C7C71#2C7C71

#2C7C71 is a mid, moderate teal. Relative luminance 0.161; OKLCH L 53.5% C 0.079 H 182.6°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#2C7C71
RGBrgb(44, 124, 113)
HSLhsl(172, 48%, 33%)
HSVhsv(172, 65%, 49%)
CMYKcmyk(64.5%, 0%, 8.9%, 51.4%)
CIE-LABlab(47.16, -26.92, -1.16)
CIE-LCHlch(47.16, 26.95, 182.47°)
OKLaboklab(53.46% -0.0788 -0.0036)
OKLCHoklch(53.46% 0.079 182.6)
XYZxyz(11.2256, 16.1418, 18.1437)
Luminance0.1614 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7C71 #7C2C37
analogous
#2C7C49 #2C7C71 #2C5F7C
triadic
#2C7C71 #712C7C #7C712C
tetradic
#2C7C71 #492C7C #7C2C37 #5F7C2C
square
#2C7C71 #492C7C #7C2C37 #5F7C2C
split-complementary
#2C7C71 #7C2C5F #7C492C
monochromatic
#0C221F #1C4F48 #2C7C71 #3CA99A #5DC5B7

Accessibility & contrast

On white

4.97
#2C7C71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#2C7C71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7C71
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7C71#FFFFFF#000000##FFFFFF
##2C7C711.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#767571
Deuteranopia (green-blind)
#6A6C72
Tritanopia (blue-blind)
#007E79
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2c7c71;
/* rgb */ color: rgb(44, 124, 113);
/* oklch */ color: oklch(53.5% 0.079 182.6);
Tailwind
colors: {
  custom: {
    50: '#6fa299',
    500: '#2c7c71',
    950: '#000000',
  },
}
SCSS
$custom: #2c7c71;
$custom-light: #6fa299;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7c71",
  "rgb": {
    "r": 44,
    "g": 124,
    "b": 113
  },
  "hsl": {
    "h": 171.75,
    "s": 47.619,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53464,
    "c": 0.07892,
    "h": 182.6
  },
  "luminance": 0.16143
}

Semantic roles & 50–950 ramp

primary
#2C7C71
secondary
#AC5864
accent
#5163D7
background
#F7FAF9
surface
#EDF3F2
border
#C8CDCC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #2C7C71

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

Preview Lab → · Contrast checker → · Palette generator →

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