#2C786C#2C786C

#2C786C is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.2% C 0.077 H 181.0°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#2C786C
RGBrgb(44, 120, 108)
HSLhsl(171, 46%, 32%)
HSVhsv(171, 63%, 47%)
CMYKcmyk(63.3%, 0%, 10%, 52.9%)
CIE-LABlab(45.70, -26.35, -0.33)
CIE-LCHlch(45.70, 26.35, 180.71°)
OKLaboklab(52.23% -0.0767 -0.0013)
OKLCHoklch(52.23% 0.077 181)
XYZxyz(10.4607, 15.0500, 16.5381)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C786C #782C38
analogous
#2C7846 #2C786C #2C5E78
triadic
#2C786C #6C2C78 #786C2C
tetradic
#2C786C #462C78 #782C38 #5E782C
square
#2C786C #462C78 #782C38 #5E782C
split-complementary
#2C786C #782C5E #78462C
monochromatic
#0B1E1B #1C4B44 #2C786C #3CA594 #5BC3B3

Accessibility & contrast

On white

5.24
#2C786C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2C786C
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C786C#FFFFFF#000000##FFFFFF
##2C786C1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c786c;
/* rgb */ color: rgb(44, 120, 108);
/* oklch */ color: oklch(52.2% 0.077 181.0);
Tailwind
colors: {
  custom: {
    50: '#6e9f96',
    500: '#2c786c',
    950: '#000000',
  },
}
SCSS
$custom: #2c786c;
$custom-light: #6e9f96;
$custom-dark: #000000;
JSON
{
  "hex": "#2c786c",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 108
  },
  "hsl": {
    "h": 170.526,
    "s": 46.341,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52231,
    "c": 0.0767,
    "h": 181
  },
  "luminance": 0.15051
}

Semantic roles & 50–950 ramp

primary
#2C786C
secondary
#A95764
accent
#5267D6
background
#F7F9F9
surface
#EDF2F1
border
#C8CCCB
text
#080E0D
muted
#7B7E7E

Preview Lab

Preview with #2C786C

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

Preview Lab → · Contrast checker → · Palette generator →

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