#2C7340#2C7340

#2C7340 is a mid, moderate green. Relative luminance 0.132; OKLCH L 49.7% C 0.107 H 150.0°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#2C7340
RGBrgb(44, 115, 64)
HSLhsl(137, 45%, 31%)
HSVhsv(137, 62%, 45%)
CMYKcmyk(61.7%, 0%, 44.3%, 54.9%)
CIE-LABlab(43.01, -34.39, 21.76)
CIE-LCHlch(43.01, 40.69, 147.67°)
OKLaboklab(49.7% -0.093 0.0538)
OKLCHoklch(49.7% 0.107 150)
XYZxyz(8.0943, 13.1663, 6.9643)
Luminance0.1317 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7340 #732C5F
analogous
#3B732C #2C7340 #2C7363
triadic
#2C7340 #402C73 #73402C
tetradic
#2C7340 #2C3B73 #732C5F #73632C
square
#2C7340 #2C3B73 #732C5F #73632C
split-complementary
#2C7340 #632C73 #732C3B
monochromatic
#0A1A0F #1B4727 #2C7340 #3D9F59 #5AC076

Accessibility & contrast

On white

5.78
#2C7340 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#2C7340 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7340
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7340#FFFFFF#000000##FFFFFF
##2C73401.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746A3C
Deuteranopia (green-blind)
#6A6343
Tritanopia (blue-blind)
#187166
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2c7340;
/* rgb */ color: rgb(44, 115, 64);
/* oklch */ color: oklch(49.7% 0.107 150.0);
Tailwind
colors: {
  custom: {
    50: '#6d9c75',
    500: '#2c7340',
    950: '#000000',
  },
}
SCSS
$custom: #2c7340;
$custom-light: #6d9c75;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7340",
  "rgb": {
    "r": 44,
    "g": 115,
    "b": 64
  },
  "hsl": {
    "h": 136.901,
    "s": 44.654,
    "l": 31.176
  },
  "oklch": {
    "l": 0.49698,
    "c": 0.10742,
    "h": 150
  },
  "luminance": 0.13167
}

Semantic roles & 50–950 ramp

primary
#2C7340
secondary
#A5568F
accent
#53B0D4
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #2C7340

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

Preview Lab → · Contrast checker → · Palette generator →

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