#2C8340#2C8340

#2C8340 is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.2% C 0.131 H 147.9°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#2C8340
RGBrgb(44, 131, 64)
HSLhsl(134, 50%, 34%)
HSVhsv(134, 66%, 51%)
CMYKcmyk(66.4%, 0%, 51.1%, 48.6%)
CIE-LABlab(48.43, -41.06, 28.65)
CIE-LCHlch(48.43, 50.07, 145.09°)
OKLaboklab(54.16% -0.1108 0.0695)
OKLCHoklch(54.16% 0.131 147.9)
XYZxyz(10.0797, 17.1372, 7.6261)
Luminance0.1714 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C8340 #832C6F
analogous
#44832C #2C8340 #2C836C
triadic
#2C8340 #402C83 #83402C
tetradic
#2C8340 #2C4483 #832C6F #836C2C
square
#2C8340 #2C4483 #832C6F #836C2C
split-complementary
#2C8340 #6C2C83 #832C44
monochromatic
#0D2713 #1D552A #2C8340 #3BB156 #60CA78

Accessibility & contrast

On white

4.74
#2C8340 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#2C8340 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C8340
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C8340#FFFFFF#000000##FFFFFF
##2C83401.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84783A
Deuteranopia (green-blind)
#797045
Tritanopia (blue-blind)
#108073
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2c8340;
/* rgb */ color: rgb(44, 131, 64);
/* oklch */ color: oklch(54.2% 0.131 147.9);
Tailwind
colors: {
  custom: {
    50: '#70a876',
    500: '#2c8340',
    950: '#000000',
  },
}
SCSS
$custom: #2c8340;
$custom-light: #70a876;
$custom-dark: #000000;
JSON
{
  "hex": "#2c8340",
  "rgb": {
    "r": 44,
    "g": 131,
    "b": 64
  },
  "hsl": {
    "h": 133.793,
    "s": 49.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5416,
    "c": 0.1308,
    "h": 147.9
  },
  "luminance": 0.17138
}

Semantic roles & 50–950 ramp

primary
#2C8340
secondary
#B05B9C
accent
#4FB9D9
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #2C8340

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

Preview Lab → · Contrast checker → · Palette generator →

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