#2C784A#2C784A

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

Color values

HEX#2C784A
RGBrgb(44, 120, 74)
HSLhsl(144, 46%, 32%)
HSVhsv(144, 63%, 47%)
CMYKcmyk(63.3%, 0%, 38.3%, 52.9%)
CIE-LABlab(44.89, -34.63, 18.53)
CIE-LCHlch(44.89, 39.28, 151.86°)
OKLaboklab(51.3% -0.0938 0.0464)
OKLCHoklch(51.3% 0.105 153.7)
XYZxyz(8.9905, 14.4619, 8.7949)
Luminance0.1446 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C784A #782C5A
analogous
#34782C #2C784A #2C7870
triadic
#2C784A #4A2C78 #784A2C
tetradic
#2C784A #2C3478 #782C5A #78702C
square
#2C784A #2C3478 #782C5A #78702C
split-complementary
#2C784A #702C78 #782C34
monochromatic
#0B1E13 #1C4B2E #2C784A #3CA566 #5BC384

Accessibility & contrast

On white

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

On black

3.89
#2C784A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2C784A#FFFFFF#000000##FFFFFF
##2C784A1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786E47
Deuteranopia (green-blind)
#6E674D
Tritanopia (blue-blind)
#0F776C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2c784a;
/* rgb */ color: rgb(44, 120, 74);
/* oklch */ color: oklch(51.3% 0.105 153.7);
Tailwind
colors: {
  custom: {
    50: '#6ea07d',
    500: '#2c784a',
    950: '#000000',
  },
}
SCSS
$custom: #2c784a;
$custom-light: #6ea07d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c784a",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 74
  },
  "hsl": {
    "h": 143.684,
    "s": 46.341,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51297,
    "c": 0.10468,
    "h": 153.7
  },
  "luminance": 0.14463
}

Semantic roles & 50–950 ramp

primary
#2C784A
secondary
#A95789
accent
#52A2D6
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#080F09
muted
#7B7E7B

Preview Lab

Preview with #2C784A

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

Preview Lab → · Contrast checker → · Palette generator →

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