#2C8171#2C8171

#2C8171 is a mid, moderate teal. Relative luminance 0.174; OKLCH L 54.8% C 0.085 H 178.1°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2C8171
RGBrgb(44, 129, 113)
HSLhsl(169, 49%, 34%)
HSVhsv(169, 66%, 51%)
CMYKcmyk(65.9%, 0%, 12.4%, 49.4%)
CIE-LABlab(48.79, -29.37, 1.22)
CIE-LCHlch(48.79, 29.40, 177.61°)
OKLaboklab(54.79% -0.0845 0.0028)
OKLCHoklch(54.79% 0.085 178.1)
XYZxyz(11.8682, 17.4270, 18.3579)
Luminance0.1743 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8171 #812C3C
analogous
#2C8147 #2C8171 #2C6781
triadic
#2C8171 #712C81 #81712C
tetradic
#2C8171 #472C81 #812C3C #67812C
square
#2C8171 #472C81 #812C3C #67812C
split-complementary
#2C8171 #812C67 #81472C
monochromatic
#0D2621 #1C5349 #2C8171 #3CAF99 #5FC8B5

Accessibility & contrast

On white

4.68
#2C8171 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#2C8171 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C8171
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8171#FFFFFF#000000##FFFFFF
##2C81711.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7970
Deuteranopia (green-blind)
#707072
Tritanopia (blue-blind)
#00837C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2c8171;
/* rgb */ color: rgb(44, 129, 113);
/* oklch */ color: oklch(54.8% 0.085 178.1);
Tailwind
colors: {
  custom: {
    50: '#70a699',
    500: '#2c8171',
    950: '#000000',
  },
}
SCSS
$custom: #2c8171;
$custom-light: #70a699;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8171",
  "rgb": {
    "r": 44,
    "g": 129,
    "b": 113
  },
  "hsl": {
    "h": 168.706,
    "s": 49.133,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54793,
    "c": 0.08456,
    "h": 178.1
  },
  "luminance": 0.17428
}

Semantic roles & 50–950 ramp

primary
#2C8171
secondary
#AF5A6A
accent
#4F69D9
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #2C8171

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

Preview Lab → · Contrast checker → · Palette generator →

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