#2C785E#2C785E

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

Color values

HEX#2C785E
RGBrgb(44, 120, 94)
HSLhsl(159, 46%, 32%)
HSVhsv(159, 63%, 47%)
CMYKcmyk(63.3%, 0%, 21.7%, 52.9%)
CIE-LABlab(45.33, -30.08, 7.44)
CIE-LCHlch(45.33, 30.98, 166.10°)
OKLaboklab(51.8% -0.0837 0.0191)
OKLCHoklch(51.8% 0.086 167.2)
XYZxyz(9.7746, 14.7756, 12.9244)
Luminance0.1478 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C785E #782C46
analogous
#2C7838 #2C785E #2C6C78
triadic
#2C785E #5E2C78 #785E2C
tetradic
#2C785E #382C78 #782C46 #6C782C
square
#2C785E #382C78 #782C46 #6C782C
split-complementary
#2C785E #782C6C #78382C
monochromatic
#0B1E18 #1C4B3B #2C785E #3CA581 #5BC3A0

Accessibility & contrast

On white

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

On black

3.96
#2C785E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2C785E#FFFFFF#000000##FFFFFF
##2C785E1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75705D
Deuteranopia (green-blind)
#6A6860
Tritanopia (blue-blind)
#007871
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2c785e;
/* rgb */ color: rgb(44, 120, 94);
/* oklch */ color: oklch(51.8% 0.086 167.2);
Tailwind
colors: {
  custom: {
    50: '#6e9f8b',
    500: '#2c785e',
    950: '#000000',
  },
}
SCSS
$custom: #2c785e;
$custom-light: #6e9f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c785e",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 94
  },
  "hsl": {
    "h": 159.474,
    "s": 46.341,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51799,
    "c": 0.08585,
    "h": 167.2
  },
  "luminance": 0.14777
}

Semantic roles & 50–950 ramp

primary
#2C785E
secondary
#A95773
accent
#527FD6
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#080E0C
muted
#7B7E7D

Preview Lab

Preview with #2C785E

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

Preview Lab → · Contrast checker → · Palette generator →

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