#2C7943#2C7943

#2C7943 is a mid, moderate green. Relative luminance 0.146; OKLCH L 51.4% C 0.113 H 150.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#2C7943
RGBrgb(44, 121, 67)
HSLhsl(138, 47%, 32%)
HSVhsv(138, 64%, 47%)
CMYKcmyk(63.6%, 0%, 44.6%, 52.5%)
CIE-LABlab(45.10, -36.42, 22.78)
CIE-LCHlch(45.10, 42.96, 147.97°)
OKLaboklab(51.43% -0.0984 0.0562)
OKLCHoklch(51.43% 0.113 150.3)
XYZxyz(8.8885, 14.6146, 7.6616)
Luminance0.1462 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7943 #792C62
analogous
#3C792C #2C7943 #2C796A
triadic
#2C7943 #432C79 #79432C
tetradic
#2C7943 #2C3C79 #792C62 #796A2C
square
#2C7943 #2C3C79 #792C62 #796A2C
split-complementary
#2C7943 #6A2C79 #792C3C
monochromatic
#0B1F11 #1C4C2A #2C7943 #3CA65C #5CC47B

Accessibility & contrast

On white

5.35
#2C7943 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#2C7943 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7943
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7943#FFFFFF#000000##FFFFFF
##2C79431.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6F3F
Deuteranopia (green-blind)
#706847
Tritanopia (blue-blind)
#14776C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2c7943;
/* rgb */ color: rgb(44, 121, 67);
/* oklch */ color: oklch(51.4% 0.113 150.3);
Tailwind
colors: {
  custom: {
    50: '#6ea078',
    500: '#2c7943',
    950: '#000000',
  },
}
SCSS
$custom: #2c7943;
$custom-light: #6ea078;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7943",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 67
  },
  "hsl": {
    "h": 137.922,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.51432,
    "c": 0.11333,
    "h": 150.3
  },
  "luminance": 0.14615
}

Semantic roles & 50–950 ramp

primary
#2C7943
secondary
#AA5791
accent
#51AFD6
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080F09
muted
#7B7E7B

Preview Lab

Preview with #2C7943

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

Preview Lab → · Contrast checker → · Palette generator →

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