#2C784C#2C784C

#2C784C is a mid, moderate green. Relative luminance 0.145; OKLCH L 51.3% C 0.103 H 154.8°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#2C784C
RGBrgb(44, 120, 76)
HSLhsl(145, 46%, 32%)
HSVhsv(145, 63%, 47%)
CMYKcmyk(63.3%, 0%, 36.7%, 52.9%)
CIE-LABlab(44.93, -34.22, 17.43)
CIE-LCHlch(44.93, 38.40, 153.01°)
OKLaboklab(51.34% -0.0928 0.0438)
OKLCHoklch(51.34% 0.103 154.8)
XYZxyz(9.0589, 14.4893, 9.1554)
Luminance0.1449 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C784C #782C58
analogous
#32782C #2C784C #2C7872
triadic
#2C784C #4C2C78 #784C2C
tetradic
#2C784C #2C3278 #782C58 #78722C
square
#2C784C #2C3278 #782C58 #78722C
split-complementary
#2C784C #722C78 #782C32
monochromatic
#0B1E13 #1C4B30 #2C784C #3CA568 #5BC387

Accessibility & contrast

On white

5.39
#2C784C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#2C784C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C784C
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C784C#FFFFFF#000000##FFFFFF
##2C784C1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786F49
Deuteranopia (green-blind)
#6E674F
Tritanopia (blue-blind)
#0E776D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2c784c;
/* rgb */ color: rgb(44, 120, 76);
/* oklch */ color: oklch(51.3% 0.103 154.8);
Tailwind
colors: {
  custom: {
    50: '#6ea07e',
    500: '#2c784c',
    950: '#000000',
  },
}
SCSS
$custom: #2c784c;
$custom-light: #6ea07e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c784c",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 76
  },
  "hsl": {
    "h": 145.263,
    "s": 46.341,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51341,
    "c": 0.10265,
    "h": 154.8
  },
  "luminance": 0.1449
}

Semantic roles & 50–950 ramp

primary
#2C784C
secondary
#A95786
accent
#529ED6
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#080F0A
muted
#7B7E7C

Preview Lab

Preview with #2C784C

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

Preview Lab → · Contrast checker → · Palette generator →

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