#2C7A3D#2C7A3D

#2C7A3D is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.6% C 0.121 H 147.9°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#2C7A3D
RGBrgb(44, 122, 61)
HSLhsl(133, 47%, 33%)
HSVhsv(133, 64%, 48%)
CMYKcmyk(63.9%, 0%, 50%, 52.2%)
CIE-LABlab(45.35, -37.89, 26.41)
CIE-LCHlch(45.35, 46.18, 145.12°)
OKLaboklab(51.6% -0.1023 0.0643)
OKLCHoklch(51.6% 0.121 147.9)
XYZxyz(8.8399, 14.7906, 6.8030)
Luminance0.1479 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7A3D #7A2C69
analogous
#427A2C #2C7A3D #2C7A64
triadic
#2C7A3D #3D2C7A #7A3D2C
tetradic
#2C7A3D #2C427A #7A2C69 #7A642C
square
#2C7A3D #2C427A #7A2C69 #7A642C
split-complementary
#2C7A3D #642C7A #7A2C42
monochromatic
#0C2010 #1C4D27 #2C7A3D #3CA753 #5CC473

Accessibility & contrast

On white

5.31
#2C7A3D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#2C7A3D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7A3D
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7A3D#FFFFFF#000000##FFFFFF
##2C7A3D1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7038
Deuteranopia (green-blind)
#716941
Tritanopia (blue-blind)
#17776C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2c7a3d;
/* rgb */ color: rgb(44, 122, 61);
/* oklch */ color: oklch(51.6% 0.121 147.9);
Tailwind
colors: {
  custom: {
    50: '#6ea173',
    500: '#2c7a3d',
    950: '#000000',
  },
}
SCSS
$custom: #2c7a3d;
$custom-light: #6ea173;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7a3d",
  "rgb": {
    "r": 44,
    "g": 122,
    "b": 61
  },
  "hsl": {
    "h": 133.077,
    "s": 46.988,
    "l": 32.549
  },
  "oklch": {
    "l": 0.51602,
    "c": 0.12086,
    "h": 147.9
  },
  "luminance": 0.14791
}

Semantic roles & 50–950 ramp

primary
#2C7A3D
secondary
#AA5798
accent
#51BAD7
background
#F7FAF7
surface
#EDF3ED
border
#C8CDC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #2C7A3D

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

Preview Lab → · Contrast checker → · Palette generator →

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