#2C8872#2C8872

#2C8872 is a mid, moderate teal. Relative luminance 0.194; OKLCH L 56.7% C 0.092 H 173.8°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#2C8872
RGBrgb(44, 136, 114)
HSLhsl(166, 51%, 35%)
HSVhsv(166, 68%, 53%)
CMYKcmyk(67.6%, 0%, 16.2%, 46.7%)
CIE-LABlab(51.10, -32.42, 3.98)
CIE-LCHlch(51.10, 32.67, 173.00°)
OKLaboklab(56.68% -0.0918 0.01)
OKLCHoklch(56.68% 0.092 173.8)
XYZxyz(12.8786, 19.3573, 18.9739)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8872 #882C42
analogous
#2C8844 #2C8872 #2C7088
triadic
#2C8872 #722C88 #88722C
tetradic
#2C8872 #442C88 #882C42 #70882C
square
#2C8872 #442C88 #882C42 #70882C
split-complementary
#2C8872 #882C70 #88442C
monochromatic
#0E2C24 #1D5A4B #2C8872 #3BB699 #62CCB3

Accessibility & contrast

On white

4.31
#2C8872 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#2C8872 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8872
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8872#FFFFFF#000000##000000
##2C88721.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#837F71
Deuteranopia (green-blind)
#767674
Tritanopia (blue-blind)
#008982
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2c8872;
/* rgb */ color: rgb(44, 136, 114);
/* oklch */ color: oklch(56.7% 0.092 173.8);
Tailwind
colors: {
  custom: {
    50: '#71ab9a',
    500: '#2c8872',
    950: '#000000',
  },
}
SCSS
$custom: #2c8872;
$custom-light: #71ab9a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8872",
  "rgb": {
    "r": 44,
    "g": 136,
    "b": 114
  },
  "hsl": {
    "h": 165.652,
    "s": 51.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56684,
    "c": 0.09239,
    "h": 173.8
  },
  "luminance": 0.19359
}

Semantic roles & 50–950 ramp

primary
#2C8872
secondary
#B35D72
accent
#4D6FDB
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #2C8872

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

Preview Lab → · Contrast checker → · Palette generator →

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