#2C7F34#2C7F34

#2C7F34 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.9% C 0.136 H 144.9°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#2C7F34
RGBrgb(44, 127, 52)
HSLhsl(126, 49%, 34%)
HSVhsv(126, 65%, 50%)
CMYKcmyk(65.4%, 0%, 59.1%, 50.2%)
CIE-LABlab(46.92, -41.26, 33.06)
CIE-LCHlch(46.92, 52.87, 141.30°)
OKLaboklab(52.86% -0.1117 0.0784)
OKLCHoklch(52.86% 0.136 144.9)
XYZxyz(9.2473, 15.9612, 5.8416)
Luminance0.1596 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7F34 #7F2C77
analogous
#4D7F2C #2C7F34 #2C7F5D
triadic
#2C7F34 #342C7F #7F342C
tetradic
#2C7F34 #2C4D7F #7F2C77 #7F5D2C
square
#2C7F34 #2C4D7F #7F2C77 #7F5D2C
split-complementary
#2C7F34 #5D2C7F #7F2C4D
monochromatic
#0D240F #1C5221 #2C7F34 #3CAC47 #5EC768

Accessibility & contrast

On white

5.01
#2C7F34 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#2C7F34 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7F34
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7F34#FFFFFF#000000##FFFFFF
##2C7F341.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81742D
Deuteranopia (green-blind)
#776C3A
Tritanopia (blue-blind)
#187C6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2c7f34;
/* rgb */ color: rgb(44, 127, 52);
/* oklch */ color: oklch(52.9% 0.136 144.9);
Tailwind
colors: {
  custom: {
    50: '#70a56e',
    500: '#2c7f34',
    950: '#000000',
  },
}
SCSS
$custom: #2c7f34;
$custom-light: #70a56e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7f34",
  "rgb": {
    "r": 44,
    "g": 127,
    "b": 52
  },
  "hsl": {
    "h": 125.783,
    "s": 48.538,
    "l": 33.529
  },
  "oklch": {
    "l": 0.52864,
    "c": 0.13648,
    "h": 144.9
  },
  "luminance": 0.15962
}

Semantic roles & 50–950 ramp

primary
#2C7F34
secondary
#AD59A5
accent
#50CBD8
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #2C7F34

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

Preview Lab → · Contrast checker → · Palette generator →

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