#2C7E1E#2C7E1E

#2C7E1E is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.3% C 0.152 H 141.0°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#2C7E1E
RGBrgb(44, 126, 30)
HSLhsl(111, 62%, 31%)
HSVhsv(111, 76%, 49%)
CMYKcmyk(65.1%, 0%, 76.2%, 50.6%)
CIE-LABlab(46.38, -43.25, 42.37)
CIE-LCHlch(46.38, 60.54, 135.59°)
OKLaboklab(52.35% -0.1182 0.0957)
OKLCHoklch(52.35% 0.152 141)
XYZxyz(8.7335, 15.5501, 3.7693)
Luminance0.1555 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7E1E #701E7E
analogous
#5C7E1E #2C7E1E #1E7E40
triadic
#2C7E1E #1E2C7E #7E1E2C
tetradic
#2C7E1E #1E5C7E #701E7E #7E401E
square
#2C7E1E #1E5C7E #701E7E #7E401E
split-complementary
#2C7E1E #401E7E #7E1E5C
monochromatic
#091B06 #1B4D12 #2C7E1E #3DAF2A #59D244

Accessibility & contrast

On white

5.11
#2C7E1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#2C7E1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7E1E
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7E1E#FFFFFF#000000##FFFFFF
##2C7E1E1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81720C
Deuteranopia (green-blind)
#776B28
Tritanopia (blue-blind)
#1E7A6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2c7e1e;
/* rgb */ color: rgb(44, 126, 30);
/* oklch */ color: oklch(52.3% 0.152 141.0);
Tailwind
colors: {
  custom: {
    50: '#71a461',
    500: '#2c7e1e',
    950: '#000000',
  },
}
SCSS
$custom: #2c7e1e;
$custom-light: #71a461;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7e1e",
  "rgb": {
    "r": 44,
    "g": 126,
    "b": 30
  },
  "hsl": {
    "h": 111.25,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52348,
    "c": 0.1521,
    "h": 141
  },
  "luminance": 0.15551
}

Semantic roles & 50–950 ramp

primary
#2C7E1E
secondary
#A247B1
accent
#43E5CD
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2C7E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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