#2C7947#2C7947

#2C7947 is a mid, moderate green. Relative luminance 0.147; OKLCH L 51.5% C 0.109 H 152.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#2C7947
RGBrgb(44, 121, 71)
HSLhsl(141, 47%, 32%)
HSVhsv(141, 64%, 47%)
CMYKcmyk(63.6%, 0%, 41.3%, 52.5%)
CIE-LABlab(45.17, -35.66, 20.61)
CIE-LCHlch(45.17, 41.19, 149.97°)
OKLaboklab(51.51% -0.0965 0.0513)
OKLCHoklch(51.51% 0.109 152)
XYZxyz(9.0127, 14.6643, 8.3155)
Luminance0.1467 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7947 #792C5E
analogous
#37792C #2C7947 #2C796E
triadic
#2C7947 #472C79 #79472C
tetradic
#2C7947 #2C3779 #792C5E #796E2C
square
#2C7947 #2C3779 #792C5E #796E2C
split-complementary
#2C7947 #6E2C79 #792C37
monochromatic
#0B1F12 #1C4C2D #2C7947 #3CA661 #5CC480

Accessibility & contrast

On white

5.34
#2C7947 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#2C7947 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7947
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7947#FFFFFF#000000##FFFFFF
##2C79471.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796F44
Deuteranopia (green-blind)
#6F684A
Tritanopia (blue-blind)
#11776D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2c7947;
/* rgb */ color: rgb(44, 121, 71);
/* oklch */ color: oklch(51.5% 0.109 152.0);
Tailwind
colors: {
  custom: {
    50: '#6ea07b',
    500: '#2c7947',
    950: '#000000',
  },
}
SCSS
$custom: #2c7947;
$custom-light: #6ea07b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7947",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 71
  },
  "hsl": {
    "h": 141.039,
    "s": 46.667,
    "l": 32.353
  },
  "oklch": {
    "l": 0.51511,
    "c": 0.10924,
    "h": 152
  },
  "luminance": 0.14665
}

Semantic roles & 50–950 ramp

primary
#2C7947
secondary
#AA578D
accent
#51A8D6
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080F09
muted
#7B7E7B

Preview Lab

Preview with #2C7947

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

Preview Lab → · Contrast checker → · Palette generator →

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