#2C785B#2C785B

#2C785B is a mid, moderate teal. Relative luminance 0.147; OKLCH L 51.7% C 0.088 H 164.7°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#2C785B
RGBrgb(44, 120, 91)
HSLhsl(157, 46%, 32%)
HSVhsv(157, 63%, 47%)
CMYKcmyk(63.3%, 0%, 24.2%, 52.9%)
CIE-LABlab(45.25, -30.82, 9.11)
CIE-LCHlch(45.25, 32.14, 163.53°)
OKLaboklab(51.72% -0.0852 0.0233)
OKLCHoklch(51.72% 0.088 164.7)
XYZxyz(9.6425, 14.7228, 12.2291)
Luminance0.1472 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C785B #782C49
analogous
#2C7835 #2C785B #2C6F78
triadic
#2C785B #5B2C78 #785B2C
tetradic
#2C785B #352C78 #782C49 #6F782C
square
#2C785B #352C78 #782C49 #6F782C
split-complementary
#2C785B #782C6F #78352C
monochromatic
#0B1E17 #1C4B39 #2C785B #3CA57D #5BC39B

Accessibility & contrast

On white

5.32
#2C785B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#2C785B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C785B
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C785B#FFFFFF#000000##FFFFFF
##2C785B1.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#767059
Deuteranopia (green-blind)
#6B685D
Tritanopia (blue-blind)
#007870
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2c785b;
/* rgb */ color: rgb(44, 120, 91);
/* oklch */ color: oklch(51.7% 0.088 164.7);
Tailwind
colors: {
  custom: {
    50: '#6e9f89',
    500: '#2c785b',
    950: '#000000',
  },
}
SCSS
$custom: #2c785b;
$custom-light: #6e9f89;
$custom-dark: #000000;
JSON
{
  "hex": "#2c785b",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 91
  },
  "hsl": {
    "h": 157.105,
    "s": 46.341,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51715,
    "c": 0.08837,
    "h": 164.7
  },
  "luminance": 0.14724
}

Semantic roles & 50–950 ramp

primary
#2C785B
secondary
#A95776
accent
#5284D6
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#080E0B
muted
#7B7E7C

Preview Lab

Preview with #2C785B

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

Preview Lab → · Contrast checker → · Palette generator →

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