#2C8771#2C8771

#2C8771 is a mid, moderate teal. Relative luminance 0.191; OKLCH L 56.4% C 0.092 H 173.6°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#2C8771
RGBrgb(44, 135, 113)
HSLhsl(165, 51%, 35%)
HSVhsv(165, 67%, 53%)
CMYKcmyk(67.4%, 0%, 16.3%, 47.1%)
CIE-LABlab(50.75, -32.22, 4.06)
CIE-LCHlch(50.75, 32.48, 172.82°)
OKLaboklab(56.39% -0.0912 0.0102)
OKLCHoklch(56.39% 0.092 173.6)
XYZxyz(12.6818, 19.0543, 18.6291)
Luminance0.1906 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8771 #872C42
analogous
#2C8744 #2C8771 #2C6F87
triadic
#2C8771 #712C87 #87712C
tetradic
#2C8771 #442C87 #872C42 #6F872C
square
#2C8771 #442C87 #872C42 #6F872C
split-complementary
#2C8771 #872C6F #87442C
monochromatic
#0E2B24 #1D594A #2C8771 #3BB598 #62CCB2

Accessibility & contrast

On white

4.36
#2C8771 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#2C8771 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8771
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8771#FFFFFF#000000##000000
##2C87711.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#827E70
Deuteranopia (green-blind)
#767573
Tritanopia (blue-blind)
#008881
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2c8771;
/* rgb */ color: rgb(44, 135, 113);
/* oklch */ color: oklch(56.4% 0.092 173.6);
Tailwind
colors: {
  custom: {
    50: '#71aa99',
    500: '#2c8771',
    950: '#000000',
  },
}
SCSS
$custom: #2c8771;
$custom-light: #71aa99;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8771",
  "rgb": {
    "r": 44,
    "g": 135,
    "b": 113
  },
  "hsl": {
    "h": 165.495,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56388,
    "c": 0.0918,
    "h": 173.6
  },
  "luminance": 0.19056
}

Semantic roles & 50–950 ramp

primary
#2C8771
secondary
#B25D71
accent
#4D70DA
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #2C8771

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

Preview Lab → · Contrast checker → · Palette generator →

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