#2C785D#2C785D

#2C785D is a mid, moderate teal. Relative luminance 0.148; OKLCH L 51.8% C 0.087 H 166.3°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#2C785D
RGBrgb(44, 120, 93)
HSLhsl(159, 46%, 32%)
HSVhsv(159, 63%, 47%)
CMYKcmyk(63.3%, 0%, 22.5%, 52.9%)
CIE-LABlab(45.30, -30.33, 8.00)
CIE-LCHlch(45.30, 31.36, 165.23°)
OKLaboklab(51.77% -0.0842 0.0205)
OKLCHoklch(51.77% 0.087 166.3)
XYZxyz(9.7300, 14.7577, 12.6896)
Luminance0.1476 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C785D #782C47
analogous
#2C7837 #2C785D #2C6D78
triadic
#2C785D #5D2C78 #785D2C
tetradic
#2C785D #372C78 #782C47 #6D782C
square
#2C785D #372C78 #782C47 #6D782C
split-complementary
#2C785D #782C6D #78372C
monochromatic
#0B1E18 #1C4B3A #2C785D #3CA580 #5BC39E

Accessibility & contrast

On white

5.31
#2C785D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#2C785D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C785D
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C785D#FFFFFF#000000##FFFFFF
##2C785D1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75705C
Deuteranopia (green-blind)
#6B685F
Tritanopia (blue-blind)
#007870
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2c785d;
/* rgb */ color: rgb(44, 120, 93);
/* oklch */ color: oklch(51.8% 0.087 166.3);
Tailwind
colors: {
  custom: {
    50: '#6e9f8b',
    500: '#2c785d',
    950: '#000000',
  },
}
SCSS
$custom: #2c785d;
$custom-light: #6e9f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c785d",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 93
  },
  "hsl": {
    "h": 158.684,
    "s": 46.341,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51771,
    "c": 0.08667,
    "h": 166.3
  },
  "luminance": 0.14759
}

Semantic roles & 50–950 ramp

primary
#2C785D
secondary
#A95774
accent
#5281D6
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#080E0B
muted
#7B7E7C

Preview Lab

Preview with #2C785D

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

Preview Lab → · Contrast checker → · Palette generator →

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