#2C7F3E#2C7F3E

#2C7F3E is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.0% C 0.127 H 147.7°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#2C7F3E
RGBrgb(44, 127, 62)
HSLhsl(133, 49%, 34%)
HSVhsv(133, 65%, 50%)
CMYKcmyk(65.4%, 0%, 51.2%, 50.2%)
CIE-LABlab(47.05, -39.77, 28.00)
CIE-LCHlch(47.05, 48.64, 144.85°)
OKLaboklab(53.01% -0.1074 0.0679)
OKLCHoklch(53.01% 0.127 147.7)
XYZxyz(9.4969, 16.0611, 7.1561)
Luminance0.1606 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7F3E #7F2C6D
analogous
#437F2C #2C7F3E #2C7F67
triadic
#2C7F3E #3E2C7F #7F3E2C
tetradic
#2C7F3E #2C437F #7F2C6D #7F672C
square
#2C7F3E #2C437F #7F2C6D #7F672C
split-complementary
#2C7F3E #672C7F #7F2C43
monochromatic
#0D2412 #1C5228 #2C7F3E #3CAC54 #5EC775

Accessibility & contrast

On white

4.99
#2C7F3E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#2C7F3E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7F3E
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7F3E#FFFFFF#000000##FFFFFF
##2C7F3E1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807439
Deuteranopia (green-blind)
#766D43
Tritanopia (blue-blind)
#137C70
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2c7f3e;
/* rgb */ color: rgb(44, 127, 62);
/* oklch */ color: oklch(53.0% 0.127 147.7);
Tailwind
colors: {
  custom: {
    50: '#6fa574',
    500: '#2c7f3e',
    950: '#000000',
  },
}
SCSS
$custom: #2c7f3e;
$custom-light: #6fa574;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7f3e",
  "rgb": {
    "r": 44,
    "g": 127,
    "b": 62
  },
  "hsl": {
    "h": 133.012,
    "s": 48.538,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53014,
    "c": 0.12707,
    "h": 147.7
  },
  "luminance": 0.16062
}

Semantic roles & 50–950 ramp

primary
#2C7F3E
secondary
#AD599B
accent
#50BBD8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #2C7F3E

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

Preview Lab → · Contrast checker → · Palette generator →

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