#2C786A#2C786A

#2C786A is a mid, moderate teal. Relative luminance 0.150; OKLCH L 52.2% C 0.078 H 178.8°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#2C786A
RGBrgb(44, 120, 106)
HSLhsl(169, 46%, 32%)
HSVhsv(169, 63%, 47%)
CMYKcmyk(63.3%, 0%, 11.7%, 52.9%)
CIE-LABlab(45.65, -26.90, 0.78)
CIE-LCHlch(45.65, 26.92, 178.34°)
OKLaboklab(52.16% -0.0777 0.0016)
OKLCHoklch(52.16% 0.078 178.8)
XYZxyz(10.3555, 15.0079, 15.9840)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C786A #782C3A
analogous
#2C7844 #2C786A #2C6078
triadic
#2C786A #6A2C78 #786A2C
tetradic
#2C786A #442C78 #782C3A #60782C
square
#2C786A #442C78 #782C3A #60782C
split-complementary
#2C786A #782C60 #78442C
monochromatic
#0B1E1B #1C4B42 #2C786A #3CA592 #5BC3B0

Accessibility & contrast

On white

5.25
#2C786A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#2C786A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C786A
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C786A#FFFFFF#000000##FFFFFF
##2C786A1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#737169
Deuteranopia (green-blind)
#68696B
Tritanopia (blue-blind)
#007A74
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2c786a;
/* rgb */ color: rgb(44, 120, 106);
/* oklch */ color: oklch(52.2% 0.078 178.8);
Tailwind
colors: {
  custom: {
    50: '#6e9f94',
    500: '#2c786a',
    950: '#000000',
  },
}
SCSS
$custom: #2c786a;
$custom-light: #6e9f94;
$custom-dark: #000000;
JSON
{
  "hex": "#2c786a",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 106
  },
  "hsl": {
    "h": 168.947,
    "s": 46.341,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52165,
    "c": 0.0777,
    "h": 178.8
  },
  "luminance": 0.15009
}

Semantic roles & 50–950 ramp

primary
#2C786A
secondary
#A95766
accent
#526AD6
background
#F7F9F9
surface
#EDF2F1
border
#C8CCCB
text
#080E0D
muted
#7B7E7E

Preview Lab

Preview with #2C786A

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

Preview Lab → · Contrast checker → · Palette generator →

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