#2C784E#2C784E

#2C784E is a mid, moderate green. Relative luminance 0.145; OKLCH L 51.4% C 0.101 H 155.9°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#2C784E
RGBrgb(44, 120, 78)
HSLhsl(147, 46%, 32%)
HSVhsv(147, 63%, 47%)
CMYKcmyk(63.3%, 0%, 35%, 52.9%)
CIE-LABlab(44.97, -33.80, 16.32)
CIE-LCHlch(44.97, 37.54, 154.22°)
OKLaboklab(51.39% -0.0918 0.0411)
OKLCHoklch(51.39% 0.101 155.9)
XYZxyz(9.1295, 14.5176, 9.5273)
Luminance0.1452 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C784E #782C56
analogous
#30782C #2C784E #2C7874
triadic
#2C784E #4E2C78 #784E2C
tetradic
#2C784E #2C3078 #782C56 #78742C
square
#2C784E #2C3078 #782C56 #78742C
split-complementary
#2C784E #742C78 #782C30
monochromatic
#0B1E14 #1C4B31 #2C784E #3CA56B #5BC38A

Accessibility & contrast

On white

5.38
#2C784E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2C784E
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C784E#FFFFFF#000000##FFFFFF
##2C784E1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776F4B
Deuteranopia (green-blind)
#6D6751
Tritanopia (blue-blind)
#0C776D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2c784e;
/* rgb */ color: rgb(44, 120, 78);
/* oklch */ color: oklch(51.4% 0.101 155.9);
Tailwind
colors: {
  custom: {
    50: '#6e9f80',
    500: '#2c784e',
    950: '#000000',
  },
}
SCSS
$custom: #2c784e;
$custom-light: #6e9f80;
$custom-dark: #000000;
JSON
{
  "hex": "#2c784e",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 78
  },
  "hsl": {
    "h": 146.842,
    "s": 46.341,
    "l": 32.157
  },
  "oklch": {
    "l": 0.51387,
    "c": 0.10063,
    "h": 155.9
  },
  "luminance": 0.14518
}

Semantic roles & 50–950 ramp

primary
#2C784E
secondary
#A95784
accent
#529BD6
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#080F0A
muted
#7B7E7C

Preview Lab

Preview with #2C784E

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

Preview Lab → · Contrast checker → · Palette generator →

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