#2C786D#2C786D

#2C786D is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.3% C 0.076 H 182.1°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#2C786D
RGBrgb(44, 120, 109)
HSLhsl(171, 46%, 32%)
HSVhsv(171, 63%, 47%)
CMYKcmyk(63.3%, 0%, 9.2%, 52.9%)
CIE-LABlab(45.73, -26.06, -0.88)
CIE-LCHlch(45.73, 26.08, 181.93°)
OKLaboklab(52.26% -0.0762 -0.0028)
OKLCHoklch(52.26% 0.076 182.1)
XYZxyz(10.5142, 15.0714, 16.8200)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C786D #782C37
analogous
#2C7847 #2C786D #2C5D78
triadic
#2C786D #6D2C78 #786D2C
tetradic
#2C786D #472C78 #782C37 #5D782C
square
#2C786D #472C78 #782C37 #5D782C
split-complementary
#2C786D #782C5D #78472C
monochromatic
#0B1E1C #1C4B44 #2C786D #3CA596 #5BC3B4

Accessibility & contrast

On white

5.23
#2C786D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#2C786D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C786D
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C786D#FFFFFF#000000##FFFFFF
##2C786D1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73716D
Deuteranopia (green-blind)
#67696E
Tritanopia (blue-blind)
#007A75
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2c786d;
/* rgb */ color: rgb(44, 120, 109);
/* oklch */ color: oklch(52.3% 0.076 182.1);
Tailwind
colors: {
  custom: {
    50: '#6f9f96',
    500: '#2c786d',
    950: '#000000',
  },
}
SCSS
$custom: #2c786d;
$custom-light: #6f9f96;
$custom-dark: #000000;
JSON
{
  "hex": "#2c786d",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 109
  },
  "hsl": {
    "h": 171.316,
    "s": 46.341,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52265,
    "c": 0.07624,
    "h": 182.1
  },
  "luminance": 0.15073
}

Semantic roles & 50–950 ramp

primary
#2C786D
secondary
#A95763
accent
#5265D6
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0D
muted
#7B7E7E

Preview Lab

Preview with #2C786D

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

Preview Lab → · Contrast checker → · Palette generator →

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