#2C7A1E#2C7A1E

#2C7A1E is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.2% C 0.147 H 140.9°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#2C7A1E
RGBrgb(44, 122, 30)
HSLhsl(111, 61%, 30%)
HSVhsv(111, 75%, 48%)
CMYKcmyk(63.9%, 0%, 75.4%, 52.2%)
CIE-LABlab(45.01, -41.74, 40.98)
CIE-LCHlch(45.01, 58.50, 135.53°)
OKLaboklab(51.21% -0.1142 0.0928)
OKLCHoklch(51.21% 0.147 140.9)
XYZxyz(8.2322, 14.5475, 3.6022)
Luminance0.1455 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7A1E #6C1E7A
analogous
#5A7A1E #2C7A1E #1E7A3E
triadic
#2C7A1E #1E2C7A #7A1E2C
tetradic
#2C7A1E #1E5A7A #6C1E7A #7A3E1E
square
#2C7A1E #1E5A7A #6C1E7A #7A3E1E
split-complementary
#2C7A1E #3E1E7A #7A1E5A
monochromatic
#091906 #1A4912 #2C7A1E #3EAB2A #58D042

Accessibility & contrast

On white

5.37
#2C7A1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#2C7A1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7A1E
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7A1E#FFFFFF#000000##FFFFFF
##2C7A1E1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E0D
Deuteranopia (green-blind)
#746827
Tritanopia (blue-blind)
#207668
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2c7a1e;
/* rgb */ color: rgb(44, 122, 30);
/* oklch */ color: oklch(51.2% 0.147 140.9);
Tailwind
colors: {
  custom: {
    50: '#70a160',
    500: '#2c7a1e',
    950: '#000000',
  },
}
SCSS
$custom: #2c7a1e;
$custom-light: #70a160;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7a1e",
  "rgb": {
    "r": 44,
    "g": 122,
    "b": 30
  },
  "hsl": {
    "h": 110.87,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51214,
    "c": 0.14712,
    "h": 140.9
  },
  "luminance": 0.14548
}

Semantic roles & 50–950 ramp

primary
#2C7A1E
secondary
#9E46AE
accent
#44E4CB
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #2C7A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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