#2C8740#2C8740

#2C8740 is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.3% C 0.136 H 147.5°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#2C8740
RGBrgb(44, 135, 64)
HSLhsl(133, 51%, 35%)
HSVhsv(133, 67%, 53%)
CMYKcmyk(67.4%, 0%, 52.6%, 47.1%)
CIE-LABlab(49.78, -42.64, 30.31)
CIE-LCHlch(49.78, 52.32, 144.59°)
OKLaboklab(55.27% -0.1151 0.0732)
OKLCHoklch(55.27% 0.136 147.5)
XYZxyz(10.6273, 18.2325, 7.8087)
Luminance0.1823 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8740 #872C73
analogous
#45872C #2C8740 #2C876E
triadic
#2C8740 #402C87 #87402C
tetradic
#2C8740 #2C4587 #872C73 #876E2C
square
#2C8740 #2C4587 #872C73 #876E2C
split-complementary
#2C8740 #6E2C87 #872C45
monochromatic
#0E2B14 #1D592A #2C8740 #3BB556 #62CC79

Accessibility & contrast

On white

4.52
#2C8740 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#2C8740 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C8740
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8740#FFFFFF#000000##000000
##2C87401.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#897B3A
Deuteranopia (green-blind)
#7D7345
Tritanopia (blue-blind)
#0D8477
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2c8740;
/* rgb */ color: rgb(44, 135, 64);
/* oklch */ color: oklch(55.3% 0.136 147.5);
Tailwind
colors: {
  custom: {
    50: '#71ab76',
    500: '#2c8740',
    950: '#000000',
  },
}
SCSS
$custom: #2c8740;
$custom-light: #71ab76;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8740",
  "rgb": {
    "r": 44,
    "g": 135,
    "b": 64
  },
  "hsl": {
    "h": 133.187,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55269,
    "c": 0.13638,
    "h": 147.5
  },
  "luminance": 0.18234
}

Semantic roles & 50–950 ramp

primary
#2C8740
secondary
#B25D9F
accent
#4DBBDA
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #2C8740

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

Preview Lab → · Contrast checker → · Palette generator →

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