#2C7866#2C7866

#2C7866 is a mid, moderate teal. Relative luminance 0.149; OKLCH L 52.0% C 0.080 H 174.6°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#2C7866
RGBrgb(44, 120, 102)
HSLhsl(166, 46%, 32%)
HSVhsv(166, 63%, 47%)
CMYKcmyk(63.3%, 0%, 15%, 52.9%)
CIE-LABlab(45.53, -28.00, 3.00)
CIE-LCHlch(45.53, 28.16, 173.89°)
OKLaboklab(52.04% -0.0797 0.0075)
OKLCHoklch(52.04% 0.08 174.6)
XYZxyz(10.1523, 14.9267, 14.9139)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7866 #782C3E
analogous
#2C7840 #2C7866 #2C6478
triadic
#2C7866 #662C78 #78662C
tetradic
#2C7866 #402C78 #782C3E #64782C
square
#2C7866 #402C78 #782C3E #64782C
split-complementary
#2C7866 #782C64 #78402C
monochromatic
#0B1E1A #1C4B40 #2C7866 #3CA58C #5BC3AA

Accessibility & contrast

On white

5.27
#2C7866 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#2C7866 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7866
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7866#FFFFFF#000000##FFFFFF
##2C78661.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#747165
Deuteranopia (green-blind)
#696867
Tritanopia (blue-blind)
#007973
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2c7866;
/* rgb */ color: rgb(44, 120, 102);
/* oklch */ color: oklch(52.0% 0.080 174.6);
Tailwind
colors: {
  custom: {
    50: '#6e9f91',
    500: '#2c7866',
    950: '#000000',
  },
}
SCSS
$custom: #2c7866;
$custom-light: #6e9f91;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7866",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 102
  },
  "hsl": {
    "h": 165.789,
    "s": 46.341,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52038,
    "c": 0.08002,
    "h": 174.6
  },
  "luminance": 0.14928
}

Semantic roles & 50–950 ramp

primary
#2C7866
secondary
#A9576A
accent
#5271D6
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#080E0C
muted
#7B7E7D

Preview Lab

Preview with #2C7866

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

Preview Lab → · Contrast checker → · Palette generator →

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