#2C786B#2C786B

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

Color values

HEX#2C786B
RGBrgb(44, 120, 107)
HSLhsl(170, 46%, 32%)
HSVhsv(170, 63%, 47%)
CMYKcmyk(63.3%, 0%, 10.8%, 52.9%)
CIE-LABlab(45.67, -26.63, 0.23)
CIE-LCHlch(45.67, 26.63, 179.51°)
OKLaboklab(52.2% -0.0772 0.0002)
OKLCHoklch(52.2% 0.077 179.9)
XYZxyz(10.4078, 15.0289, 16.2594)
Luminance0.1503 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C786B #782C39
analogous
#2C7845 #2C786B #2C5F78
triadic
#2C786B #6B2C78 #786B2C
tetradic
#2C786B #452C78 #782C39 #5F782C
square
#2C786B #452C78 #782C39 #5F782C
split-complementary
#2C786B #782C5F #78452C
monochromatic
#0B1E1B #1C4B43 #2C786B #3CA593 #5BC3B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C786B#FFFFFF#000000##FFFFFF
##2C786B1.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)
#73716A
Deuteranopia (green-blind)
#68696C
Tritanopia (blue-blind)
#007A74
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2c786b;
/* rgb */ color: rgb(44, 120, 107);
/* oklch */ color: oklch(52.2% 0.077 179.9);
Tailwind
colors: {
  custom: {
    50: '#6e9f95',
    500: '#2c786b',
    950: '#000000',
  },
}
SCSS
$custom: #2c786b;
$custom-light: #6e9f95;
$custom-dark: #000000;
JSON
{
  "hex": "#2c786b",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 107
  },
  "hsl": {
    "h": 169.737,
    "s": 46.341,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52198,
    "c": 0.07718,
    "h": 179.9
  },
  "luminance": 0.1503
}

Semantic roles & 50–950 ramp

primary
#2C786B
secondary
#A95765
accent
#5268D6
background
#F7F9F9
surface
#EDF2F1
border
#C8CCCB
text
#080E0D
muted
#7B7E7E

Preview Lab

Preview with #2C786B

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

Preview Lab → · Contrast checker → · Palette generator →

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